Pregunta

How can I stop image sliding getting paused when I put mouse on it. I want it to be continue running though I put mouse on any image.

Please help.

¿Fue útil?

Solución

Just a kickstart idea..

var paused = false;
$("#slidercontainer").hover(function() {
    var paused = true;
}, function() {
    var paused = false;
});

Write your sliding code below, with setInterval or what ever you wish

if(paused === false) {
 // keep your slide running
}
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top