Friday, April 23, 2010

jQuery: Newsreel @ newsticker

Live demo: GO

How It Work??
-define first news into variable first
-using fadeOut(), make the first news slowly disappear then completely remove the news that has been shown
-then, append next news to view and loop this process

To change interval between each news, set@alter the pause variable value in miliseconds

This newsreel useful to put into your website front page to alert user about latest news. The news also can retrieved from database though it may require some coding.

P.s: in php, you can use include() to include this file. Dont forget to include jquery.js into same directory too..:D

1 comment:

  1. Cool, there is actually some good points on here some of my readers will maybe find this relevant, will send a link, many thanks.

    ReplyDelete

Your comment is much appreciated. Thanks :)