here is the function: http://jsfiddle.net/bfQMD/25/
How can I flip continuously when hover and stops when hover out?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it like this:
Working demo here: http://jsfiddle.net/jfriend00/2BALx/
In the two hover functions, you keep track of whether the mouse is currently hovering and then in the
onEndfunction for each flip, if the mouse is still hovering, you start a newflip()after a short delay. Due to the way the flip plug-in works, you have to use a short delay (it can be super short if you want) because if you try to start the next clip from onEnd directly, it won’t start – thus it needs to be on at least a very short timer.