Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1
Sign in to follow this  
Jordinski

How do I get an image to pop up when I mouse over a word (text)?

Question

Basically, the title says it all. In the body of my text I want an image to pip up when you hover your mouse over a certain word. I know this will require some custom css, I just can't find it!

Edited by emca
retag

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 2

How to do this?

Use HTML code

<a href="#">Required text<img src="image url" /></a>

Use CSS code


a img { display:none; }
a:hover img { display:block; }

Please subscribe to my website www.topp5.com

Edited by shaneapen

Share this post


Link to post
  • 1

I'm looking for a similar capability: I'd like a brief definition to pop up when someone hovers over a highlighted term; kindof like a "tooltip" in applications software...

Edited by SolarDave

Share this post


Link to post
  • 0

Thanks for the suggestion; I'll give it a try. Though I've used html and css before coming to Squarespace, I don't know yet how to "get to" the html and css yet. I need to watch an instructional vid or two before trying.

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...