RAINBOW GLOW TEXT EFFECT
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
29-May-2013: Minor improvements.
22-Jul-2012: Added the option for the text to glow.
29-Sep-2005: Added the option for the text to be a link and removed support for Internet Explorer 4.
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: Place a <span> element with 'id="rainbow"' on your web-page containing the text you wish to be turned into a rainbow. For example:



Don't include anything other than text between the <span> tags.
STEP 3: Decide how much you want your text to glow by changing the value of 'glow' at the start of the script. Choose the speed of the animation and whether you want the text to act as a link. You can even change the colours if you want.
THAT'S IT When your page loads, the text you placed between between the <span> tags should be turned into a rainbow of colours, like the text at the top of this page.

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/dhtmlrainbow.php.

This page has been viewed 97 times. It was last viewed on Fri 22 Nov, 2024 at 23:32