Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wacky behavior using image map w/ show/hide layers

Status
Not open for further replies.

backspin

Technical User
Mar 13, 2002
40
0
0
US
I'm trying to make a show/hide layer behavior, where if you mouse over part of a large image (an image mapped area), the whole image will change. It works, but when viewing in the browser, as the mouse moves over the mapped area, the hidden layer flashes visible/not/visible/not... only if the mouse is moving. It's as if there are actually little holes in the mapped area, so the mouse skips from making the behavior happen to not, and back again, as it moves across. Here's a link for the demo:
the only map currently active is over the top circle.

Anybody know why this is happening? I like the action, but it needs to flip once on mouseover & then stay there!
 
What is the code for onMouseover? "Damn the torpedoes, full speed ahead!"

-Adm. James Farragut

Stuart
 
Code:
<area shape=&quot;poly&quot; coords=&quot;188,46,141,74,140,107,186,127,217,138,295,108,287,69,234,44&quot; href=&quot;#&quot; onMouseOver=&quot;MM_showHideLayers('purple','','show');MM_showHideLayers('startcircles','','hide')&quot; onMouseOut=&quot;MM_showHideLayers('purple','','hide');MM_showHideLayers('startcircles','','show')&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top