/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var t_on = function() {t_out = setTimeout(t_exe, 5000);} var t_off = function() {clearTimeout(t_out);} var t_exe = function() {$('.jFlowNext').click();t_on();} $("#jFlowSlide").bind("mouseenter", function() {t_off();}); $("#jFlowSlide").bind("mouseleave", function() {t_on();}); t_on();