document.write(''); document.write(''); google.load('jquery', '1.4.2'); $(document).ready(function(){ var first = 0; var speed = 900; var pause = 3 * 1000; // 3 seconds * 1000 milliseconds function removeFirst(){ first = $('ul#listticker li:first').html(); $('ul#listticker li:first') .animate({opacity: 0}, speed) .fadeOut('slow', function() {$(this).remove();}); addLast(first); } function addLast(first){ last = '
  • '+first+'
  • '; $('ul#listticker').append(last) $('ul#listticker li:last') .animate({opacity: 1}, speed) .fadeIn('slow') } interval = setInterval(removeFirst, pause); });