Reputation: 6172
I'm looking for a pseudo-marquee with jquery, looking like the one on the twitter home page. The ideal features would be :
Does that exist somewhere, or should I just create it myself ? Thanks.
Upvotes: 2
Views: 1775
Reputation: 2777
This is what ultimately worked for me:
http://www.givainc.com/labs/marquee_jquery_plugin.cfm
When you want to update the list
$("#id").marquee("update")
Upvotes: 2
Reputation: 2538
There are some great plugins for this, not necessarily using lists.
There's also this one, which uses a sliding or fading effect...but could be tweaked into animating in another way. It can be used on lists.
A plugin like jQuery Marquee will not carry out the Ajax for you, but it could be easily modified using other jQuery methods to update live.
The biggest thing to remember here is that if you set up your Ajax on an interval and continually modify the marquee's source DOM elements in the Ajax callback, you can achieve this effect without having to make yourself too crazy.
Upvotes: 1