damien
10-25-2002, 09:50 AM
I have 2 separate image swaps operating on a single image map. One onMouseOver and another onClick. My problem is that onMouseOut I'm calling a function which reverses the image Swap, and I want this to operate on the OnMouseOver imgSwap but NOT the onClick one.
code:
<area alt="" shape="poly" coords="78,28,234,53,230,151,247,153,247,200,238,204,236,269,187,265,180,273,83,246,49,212,28,131,57,36,74,3 9" onMouseOut="MM_swapImgRestore(1)" onMouseOver="MM_swapImage('imgMap','','/futuretense_cs/USA_Images/Western.jpg',1)" onClick="MM_swapImage('imgMap','','/futuretense_cs/USA_Images/backmap.jpg',2),showLayerMap('Wst')">
As the onClick and OnMouseOver operate on the same area the imgSwapRestore() function always operates on the most recent imgSwap, which is always the onClick. I want the onClick imgSwap to stick.
thanks in advance,
damien
code:
<area alt="" shape="poly" coords="78,28,234,53,230,151,247,153,247,200,238,204,236,269,187,265,180,273,83,246,49,212,28,131,57,36,74,3 9" onMouseOut="MM_swapImgRestore(1)" onMouseOver="MM_swapImage('imgMap','','/futuretense_cs/USA_Images/Western.jpg',1)" onClick="MM_swapImage('imgMap','','/futuretense_cs/USA_Images/backmap.jpg',2),showLayerMap('Wst')">
As the onClick and OnMouseOver operate on the same area the imgSwapRestore() function always operates on the most recent imgSwap, which is always the onClick. I want the onClick imgSwap to stick.
thanks in advance,
damien