Looping Images with jQuery/Javascript on Hover

I’ll be honest with you, this one racked my brain for awhile. I don’t really know why I had so much trouble with this because I write jQuery all of the time. To avoid you going through the same trouble that I had, here is the jQuery script I wrote to infinitely rotate images when the mouse hovers over the images. If you have some tips, leave a comment.

Maybe one day I’ll get around to writing up a WordPress Plugin for this. :)

Demo

jQuery

 

HTML

 

About Clifton Hatfield

He fell in love with the WordPress Publishing Platform and has been creating themes and plugins for it ever since. He is the kind of guy that can read code better than he can read a book. Often, you can find him hunched over a keyboard delivering his magic. He likes cold pizza, walking on moving sidewalks, and Indiana Jones.
1 comments
underclass
underclass

This is a great piece of code, I'd like to create a very fast hover effect where images flick past as you hover, I've tried to reduce the delay for opacity animation and the transition delay but this comes up with a strange quirk when hovering. Do you have any tips on achieving this effect?