jQuery lava-lamp-like effect bouncing all over the place!

Posted by Nathan Loding on Stack Overflow See other posts from Stack Overflow or by Nathan Loding
Published on 2010-04-11T18:33:08Z Indexed on 2010/04/11 19:53 UTC
Read the original article Hit count: 468

Filed under:
|
|

I followed the tutorial found here and added my own flare to it: tutorial

What I was looking to accomplish was to put a specific image on the left and right side of the list item. So instead of just the generic <li id="blob"></li> created in the tutorial, I did <li id="blob"><div class="blob-wrap"><div class="leftimage"></div><div class="rightimage"></div></li> to accomplish the particular effect I wanted. It works beautifully ... except that the image attempts to bounce back the "currentPageItem" if I leave the mouse hovering over one of the list items.

Here's a JS Bin example: http://jsbin.com/odome

What do I need to do to fix it? jQuery is firing the "hoverOut" function (or whatever you want to call it). But why?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about hover