Im pretty sure this has a simple solution. I am using jCarousellite, and i want to change the behaviour of built in nav buttons to fire on hover over.
$(\"#
var nav = function() { $("#carousel .btn-down").click(); // next move $("#carousel").data( 'hover', window.setTimeout(nav, 1000); // continue in 1000 ms ); }; $("#carousel .btn-down").hover( nav, function() { window.cancelTimeout ($("#carousel").data('hover')); // stop the navigation } );