How do i fire a click continuously while something is hovered?

Posted by russjman on Stack Overflow See other posts from Stack Overflow or by russjman
Published on 2010-03-12T00:54:27Z Indexed on 2010/03/12 0:57 UTC
Read the original article Hit count: 256

Filed under:
|
|
|

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.

$("#carousel").jCarouselLite({


 vertical: true,
 btnNext: ".btn-down",
 btnPrev: ".btn-up",
 visible:6,
 circular: false

});

$("#carousel .btn-down").hover(function() {

 $("#carousel .btn-down").click();

});

but it only fires once when mouseover, i need it to fire continueously while mouseover.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jcarousel