Hello!
I have an odd situation that doesn't make any sense to me and I am hoping someone can shed some light on it for me.
I have several rollover images on one of my web pages. Some of them I am changing the src within the onMouseOver/Out event in the tag itself. Others I am changing via a JavaScript function. However I am noticing that all of them have the tendency to either "stick" on the mouseover image OR they will show the red X empty image if you move your mouse all the way across the button very very quickly.
It's almost like the mouseout event tries to trigger but the mouseover has not finished yet and it screws it up. I have even tried puttin an alert inside my mouseout function and the alert never pops up, so for some reason the mouseout event is not being called.
Any ideas why this may be happening? Is there a race condition there that I am not taking into consideration?
-Greg
I have an odd situation that doesn't make any sense to me and I am hoping someone can shed some light on it for me.
I have several rollover images on one of my web pages. Some of them I am changing the src within the onMouseOver/Out event in the tag itself. Others I am changing via a JavaScript function. However I am noticing that all of them have the tendency to either "stick" on the mouseover image OR they will show the red X empty image if you move your mouse all the way across the button very very quickly.
It's almost like the mouseout event tries to trigger but the mouseover has not finished yet and it screws it up. I have even tried puttin an alert inside my mouseout function and the alert never pops up, so for some reason the mouseout event is not being called.
Any ideas why this may be happening? Is there a race condition there that I am not taking into consideration?
-Greg