Get an image to pop up when I mouse over a word (text)?
-
In the body of my text I want an image to p0p up when you hover your mouse over a certain word. Is it possible? How I can do this?
-
Hi Morgan,
you can do this with a bit of jQuery (Javascript).
Have a look here:
http://jsfiddle.net/e27Dt/Or even more simple, here:
http://jsfiddle.net/e27Dt/1/You will need to give the word a class or an id and then trigger it with jQuery.
The image you can place in the gridder and give it a
display: none
.And when you activate the hover function, it switches to
display: block
.Let me know if that works for you!
Marius
Marius
Before you post
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it