We help IT Professionals succeed at work.

Jquery code works in everything except IE9 Please Help!!

dolythgoe
dolythgoe asked
on
Hey all,

I really appreciate some help on this one as it's driving me nuts!!

The below script works as intended in all browsers except IE9 (even IE7 complies). The image is supposed to rotate through on hover and then reset on mouseout. IE9 just steps 1 frame and then stops until re-hovered. :(

http://jsfiddle.net/4E4eK/

Really need some ideas solving this one!

Cheers
Comment
Watch Question

Commented:
I;ve testes on local mashine and it works on every browsher. On jsfiddle something goes wrong.
test.zip

Author

Commented:
I find it doesn't work on my local machine win7 64 bit ie9..
RobOwner (Aidellio)
Most Valuable Expert 2015

Commented:
I have exactly the same setup win7 64 bit ie9 and it works if you mouseover the image, mouseout and mouseover again so it's something to do with the way you're attaching & detaching the mouse events
Owner (Aidellio)
Most Valuable Expert 2015
Commented:
I would do it slightly differently when loading the images:

http://jsfiddle.net/rjurd/4E4eK/3/