Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ feat: Add image_hover and image_toggler interactive image shortcodes #104

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

welpo
Copy link
Owner

@welpo welpo commented Aug 9, 2023

  • image_hover Shortcode: This shortcode provides an interactive experience for users by changing the image when hovered over.

  • image_toggler Shortcode: A user-interactive shortcode that swaps between two images when clicked.

- `image_hover` changes image on mouse hover.

- `image_toggler` swaps image on click.
@welpo welpo merged commit 090ebca into main Aug 9, 2023
1 check passed
@welpo welpo deleted the feat/image-hover-toggler branch August 9, 2023 16:40
@Jieiku
Copy link
Contributor

Jieiku commented Aug 9, 2023

Hey! Good idea! your just loading them both which simplifies the css! also makes loading on hover instantaneous for smooth transition. This is one of the outstanding issues in abridge, going to use the same idea that you did here.

@welpo
Copy link
Owner Author

welpo commented Aug 9, 2023

Great! I was about to respond to that issue in Abridge, just in case you hadn't thought of this solution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants