$('marquee').marquee('pointer').mouseover(function() {
$(this).trigger('stop');
}).mouseout(function() {
$(this).trigger('start');
}).mousemove(function (event) {
if ($(this).data('drag') == true) {
this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
}
}).mousedown(function (event) {
$(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
}).mouseup(function() {
$(this).data('drag', false);
});
Quelqu'un sait-il le meilleur moyen de s'arrêter peut-être sur une minuterie après 3 secondes, de faire une pause de 3 secondes, puis de continuer?jquery, marquee timer stop/go
Merci!
Lien vers '$ (...) tente (...)' s'il vous plaît.? – Eric
[link] (http://plugins.jquery.com/project/marquee) au chapiteau – Aidiakapi