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
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com