SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Text Description on mouseover
-
Nov 27, 2008, 14:56 #1
Text Description on mouseover
After viewing the million dollar homepage I was wondering if someone could help me figure out how to make a text description come up when a user mouseovers a certain part of an image
. I am not looking for a "million dollar" script or anything but I need a short description and link to come up when a user mouseovers a certain part of my image.
I found out that its called an image map however I don't know how to make text pop up when you mouseover it.Last edited by Spirix; Nov 27, 2008 at 15:54.
-
Nov 27, 2008, 16:09 #2
- Join Date
- Apr 2002
- Posts
- 2,322
- Mentioned
- 3 Post(s)
- Tagged
- 0 Thread(s)
just standard html can do it, although i don't know how cross browser ok it is. basically make an image map however, as usual, and put a title attribute in the 'area' element which specifies the area. eg:
Code:<img src="image.png" width="300" height="200" alt="" usemap="#map" /> <map name="map" id="map"> <area shape="rect" alt="" title="This is the popup text on the particular area of the image" coords="5,50,40,20" /> </map>
-
Nov 27, 2008, 17:35 #3
Wow that works really well! Thank you so much!
Bookmarks