...

View Full Version : Disable "onmouseover" after it's been triggered



Crazydog
07-09-2007, 09:31 PM
I have an image that has an onmouseover event. Is there a way to disable the onmouseover until the event has finished?

ess
07-09-2007, 10:13 PM
One approach is to use a global variable to indicate the state of the event. For example..if it is equal to 1, the event is in process and if it is equal to 0, the event has not started...or has finished processing.

a second approach is to remove the event handler from the image/button/link. A good idea is to also change the style of the image/link/button to indicate that some sort of processing is going on in the back ground...or the button/image/link is disabled until the event is completed.

Cheers,
Ess



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum