开发者

Horizontal News Scroller in JavaScript

开发者 https://www.devze.com 2023-01-22 07:46 出处:网络
I think I would have gone through like a hundred websites but I do not seem to find the perfect horizontal news scroller for my website. My requirements are:

I think I would have gone through like a hundred websites but I do not seem to find the perfect horizontal news scroller for my website. My requirements are:

1) Must be smooth 2) Must scroll from right end of browser to left end (meaning 100% width) 3) Must be continuous (Meaning news-item-1 must be visible immediately after the last-news-item) 4) Must be light in weight. 5) Must pause on mouseover.

liScroll is the closest that I could find. I can set 100% width and its motion is smooth unlike say an HTML marquee. It also pauses on mouseover. However it is extremely heavy and gets stuck in browsers like Firefox (works fine on Chrome). Also, I have to wait for 100% whitespace to scroll before I can see news-item-1 after the last-news-item).

I would really prefer if it were in jQuery since the rest of 开发者_如何学编程my scripts use jQuery although I am so desperate at this point that I am ready to use Mootools or Prototype or any other Javascript library out there. Is there any script out there that meets my requirements? Thanks in advance.


What's wrong with jQuery Tools Scrollable? It does everything you've mentioned.

0

精彩评论

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