开发者

Automated horizontal scrolling in jQuery

开发者 https://www.devze.com 2022-12-31 01:26 出处:网络
I\'m looking for a jQuery plugin which does scrolling the element (div) when I hover the arrow, it should look like this: http://img42.imageshack.us/img42/5716/scrollp.jpg and开发者_如何学编程 scroll

I'm looking for a jQuery plugin which does scrolling the element (div) when I hover the arrow, it should look like this: http://img42.imageshack.us/img42/5716/scrollp.jpg and开发者_如何学编程 scroll automatically the content inside to the left/right only when user hovers arrows.

Is there anything like this?

Thanks a lot, Jakub


http://flesler.blogspot.com/2008/02/jqueryserialscroll.html

I have used it in several places, but i havent tried it like i think you want it to, but since you can do stuff like :

$(container).trigger( 'start' );
$(container).trigger( 'stop' );

you should be able to do those start and stop on mouseover events.

Alan.


any "do it yourself" solution should contain

$("#divid").animate({
   'scrollLeft':  '400px'
}, 3000);

for instance

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号