NEWS TICKER
xml compliantThis script has been tested on and shown to work with the following browsers:
  • Internet Explorer version 5 and above
  • Google Chrome version 1 and above
  • Mozilla Firefox version 1 and above
  • Apple Safari version 3 and above
  • Opera version 7 and above (including Opera mobile)
  • Android Browser version 2 and above
17-Sep-2014: Updated with new load handlers.
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.

Copyright notice: All scripts are © copyright mf2fm.com. You can use them wherever and whenever you wish, however the copyright notice at the start of the script should remain intact and a link back to this page would be appreciated. The address for this page is: http://www.mf2fm.com/rv/dhtmlnews.php.

This page has been viewed 45 times. It was last viewed on Thu 28 Mar, 2024 at 06:02