image map titles
I have a page on my site (yes, it's a very silly project I started). It has a map where you can hover over certain points and get more information.
<?php
<map name=\"map\">
<area shape=circle coords=\"458,216,15\" title=\"Televisoin Writer/Producer, Charlotte, NC\" />
<area shape=circle coords=\"118,230,15\" title=\"Financial Advisor, Rancho Santa Margarita, CA\" />
</map>
<p align=\"center\">
<img src=\"/graphics/postcard.jpg\" alt=\"\" width=\"600\" height=\"400\" border=\"0\" usemap=\"#map\" ismap />
</p>
?>
It works just as expected but I bet it can work better somehow?
1) Right now your mouse needs to stay still for ½ second before the text appears, and disappears as soon as you budge the mouse again. Is there another technique I can use that would pop up the message immediately when your mouse is over the target area, whether or not it's still moving.
2) Using "title" doesn't allow me to do line breaks. Is there another technique I can use that would allow the occupation and the location to be on seperate lines.
Thanks
andy206uk posted this at 15:49 — 2nd August 2004.
He has: 1,758 posts
Joined: Jul 2002
You need to create DHTML tooltips.]
This should help you:
http://www.dyn-web.com/dhtml/tooltips/tooltip.html
fifeclub posted this at 16:06 — 2nd August 2004.
He has: 688 posts
Joined: Feb 2001
That's EXACTLY what I was looking for. Thanks!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.