javascript - jQuery .animate() Issues -


I am trying to create an autocrossing / carousel like a function for an unordered list of images.

When you place your mouse in a box, it calls a function whose work is & lt; Ul & gt; Enhance margins on

  $ ("thumb.") ("Margin-top": (current margin-10) + "px"}, function () {console.log ("margin-top" + (current margin-10) + "px"); running = false; });  

I'm looking at the right value for what I want in the log, i.e. the animation estimates that its end ... but nothing is changing on my div.

Do anybody have any consciousness that can not function as an objective animate function?

thanks

"marginop" instead of "margin-top" Try, generally when you use CSS prop, to use the "normal" version, "limit-something" or "margin-something" is better, as you would like to have DHTML (style margin top) Used to


Comments