Simple jQuery News Ticker

$(document).ready(function() {
var ticker = function()
{
setTimeout(function(){
$('#recent-posts li:first').animate( {marginTop: '-120px'}, 800, function()
{
$(this).detach().appendTo('ul#recent-posts').removeAttr('style');
});
ticker();
}, 4000);
};
ticker();
});

1 Comment

You must be logged in to post a comment.


  1. We can create a very cool and simple jquery news ticker within 3 steps.
    http://infotuvian.blogspot.com/2011/09/very-simple-jquery-news-ticker-created.html