NEWS TICKER
xml compliantThis script has been tested on and shown to work with Internet Explorer 5+, Netscape 6+, Firefox 1.0 and Opera 7+.
29-Feb-2004: First release.
STEP 1: Copy and paste the code below so that it sits between the <head> and </head> tags at the top of your web-page:



CLICK HERE to select the above script ready to paste it into your clipboard
STEP 2: Edit the array called 'news' at the start of the JavaScript to contain the messages which you want to appear. Enter links without the 'http://' but with the 'www.'
STEP 3: Place a <span> element with 'id="news"' on your web-page containing some text which will show in case the script doesn't run (i.e. for people without JavaScript enabled). For example:

THAT'S IT When your page loads, the text you placed in the array at the start of the script will be typed out as if it were coming from a news feed.
No menu on the left? Click here for a full list of all the free DHTML and Javascript effects you could be using on your web-site!
Interested in learning more about JavaScript, CSS, HTML/XHTML/XML and PHP programming? I would highly recommend the following books...

HotScripts.com

[ This page viewed 133 times. Last viewed Wed 14 May, 2008 at 00:19 ]