views:

52

answers:

1

Hi guys,

I am looking for a news ticker pretty much identical to the one on twitter (the one the scrolls horizontally)

The main things I am looking for:

Continuous scroll
- When an element is no longer visible it is removed and put at the very back of the list.
No Pause
- It should be a smooth scroll, not a scroll, pause, scroll

I attempted to do it by

Setting the ul to overflow: hidden
Animating the li:first using margin-left: {current_margin_left}-10 every second

But it goes way to fast and breaks.

Is there anything that matches this description?

+2  A: 

The below link consists of a tutorial to create a pure jQuery & CSS twitter ticker which utilizes Twitter’s Search API. It will show your or your friends’ latest tweets, and will not require any server side code or databases. As a result, the ticker will be easily included into any web page and easily modified to your likings.

Check the below link for detailed info -

http://tutorialzine.com/2009/10/jquery-twitter-ticker/

Alpesh
If you could summarize the linked article (just in case that site dies, or re-organizes its material) this would be a *slightly* better answer. =)
David Thomas
Added a short summary of the link contents. :)
Alpesh
In which case, **+1** =)
David Thomas