I use jQuery jCarousel for the slider, after a few minutes I found a way to stop the slider when you hover over the mouse, but the problem is that it does not stop immediately when you hover over the mouse, it only stops at the end of the image set (3 images in my demo). However, it immediately starts with the mouse. I am new material for javascript and can not do much, coming to it. :(
My current code is http://bit.ly/ijNcow
thank
Often we run jCarousel with .click(). In this case, you can use the following code to stop the animation:
.click()
itemLoadCallback: { onBeforeAnimation: function(jc, state) { jc.lock(); } }
jc.lock() jc.unlock() .
jc.lock()
jc.unlock()
jCarousel , . , jQuery, , . , carousel.stopAuto(), . , , ( , ).
carousel.stopAuto()
, jQuery stop() . (, ),
stop()
$('#listing').stop(true);
, , , , ( , ). , , . , , , , .