PDA

View Full Version : Problems with link buttons


tomegun
04-26-2005, 03:54 PM
Hi Everyone,

I have an issue with some code i have taken on from someone else. I basically have 13 buttons that go blue using onMouseOver and then back to white (normal colour) when the mouse moves off. However when you move the mouse at speed over the buttons the buttons randomly stay blue. I have attached some of the code here and wonder if anyone can help or has come across the same problem?

Cheers

*This example is for button 13 hence 'B13' with 'B13_o' being the button with blue background:

<div id = "B13" onMouseOver="MM_showHideLayers('B13_o','','show')" onMouseOut="MM_showHideLayers('B13','','hide')" onClick="MM_swapImage('planviewer','','images/plans/services2.jpg',1)"></div>

<div id = "B13_o" onMouseOver="MM_showHideLayers('B13','','show')" onMouseOut="MM_showHideLayers('B13_o','','hide')" onClick="MM_swapImage('planviewer','','images/plans/services2.jpg',1)"></div>