I'm displaying a list with three entries. Those entries come from MySQL database. With Ajax, the database is checked every five seconds for new entries. The display of the new items works fine, but I would like to scroll in a new item and scroll out the oldest one.
eg:
item 3
item 2
item 1
then there is a new item.
item 4
item 3
item 2
item 4 should scroll in from the top and item 1 should disappear. i found a good tutorial, but this one doesn't work with a database and I don't know how to implement it. I hope someone can help me out a little.
there are many great newsticker plugins available, but all of them seem to work with xml data. I'm looking for a way, to show the latest entries in a mysql database.
the ticker should display the last 4 news and look for newer entries every few seconds.
eg:
entry 4
entry 3
entry 2
entry 1
when there is an entry 5, entry 1 should disappear by scrolling.
I hope someone can point me in the right direction or maybe there is even a plugin that works with mysql.