johns311
03-14-2005, 09:30 PM
I have created image maps from a .gif and I am trying to get a menu to popup when I go over these hotspots so I can give another list of options to the user. I have looked for other websites that use the same idea and found them, but I think most of their javaScript code is hidden.
My questions are:
1. Is javaScript good to use for this purpose?
2. How do I get the menu to be visible or for that fact how do I create that menu?
Here's what the map code looks like:
<map name="something" id="someID">
<area shape="rect" coords="23,32,2,23" href='#'>
</map>
I am hoping to popup this menu when the mousebutton is pressed so it wouldn't be annoying. So I'm thinking like a onmouseDown event.
If anyone can help. Thanks!
My questions are:
1. Is javaScript good to use for this purpose?
2. How do I get the menu to be visible or for that fact how do I create that menu?
Here's what the map code looks like:
<map name="something" id="someID">
<area shape="rect" coords="23,32,2,23" href='#'>
</map>
I am hoping to popup this menu when the mousebutton is pressed so it wouldn't be annoying. So I'm thinking like a onmouseDown event.
If anyone can help. Thanks!