Having done this with javascript, you can use jquery to make it easier for yourself. Here is an example:
http://jsfiddle.net/tpmQj/
$(function(){
setInterval(function(){
$("#wrapper").prepend($("<li>A new item</li>").hide().fadeIn());
}, 4000);
});
You can use a timeout or interval in conjunction with an ajax request that checks the database and returns new results, etc. The basic concept is simply adding new elements to the dom tree.
source
share