最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - An automatically scrolling live ticker (like the "Top Tweets" of Twitter) - Stack Overflow

programmeradmin2浏览0评论

Is there a good Javascript library for generating an automatically scrolling list like the "Top Tweets" on the Twitter homepage? Preferable as jQuery plugin. It should also support AJAX functionality (to add new list items dynamically).

Is there a good Javascript library for generating an automatically scrolling list like the "Top Tweets" on the Twitter homepage? Preferable as jQuery plugin. It should also support AJAX functionality (to add new list items dynamically).

Share Improve this question edited Dec 5, 2010 at 10:50 medihack asked Sep 28, 2010 at 21:34 medihackmedihack 16.6k21 gold badges91 silver badges140 bronze badges
Add a comment  | 

5 Answers 5

Reset to default 9

As we were not really satisfied with the existing solutions we implemented one from scratch. Our solution is a fully jQuery UI compatible ticker plugin (also compatible with their theming framework) and fully unit tested. We didn't yet have the time to test it under every browser, so feedback is welcome (for problems please open issues on the below Github project site).

A special styled demo (Twitter like) is available here. The main main repository can be found here (ticker branch). There are several options to customize the ticker (documentation at the above mentioned Github repository).

Screenshot:

Here is a nice solution: Scrolling List

Try http://www.htmldrive.net/items/demo/38/Multi-purpose-slideshowtext-scrollerimages-scroller-jquery-plugin

That is the best solution I was able to find: Scrolling List

If you want to write your own, make a div of fixed width/height, with overflow: hidden, then create another div inside it, with the position: relative property, filled with content from your feed (twitter posts, or similar, etc). Then, when the page loads just make the inner div's top: CSS value change (if you want the list to scroll up, the top value should decrement from zero).

I doubt this helps, but it is quite a good, simple way to get a scrolling without using a jQuery plugin.

发布评论

评论列表(0)

  1. 暂无评论