Display caption instead of cursor on image hover
-
Hey,
any ideas how to get image caption to appear ON image as a cursor, as cursor moves? Like this: https://jsfiddle.net/pcgksokt/79/Got this working only using a "shortcode" method in html, but how about using lay captions or title/alt attributes from image?
Almost there..
Best, Seppo -
Dear @Seppo
you can do it way simpler. Unfortunately even that would take too much time to explain for me. But I will try to give you some rough ideas:
You can use this
jQuery(this)to avoid the loop. So it grabs the caption text from the inside of the box.I hope that leads you to the right path.
Best!
Marius
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login