Ok, this is a relatively easy code because you can mainy copy and paste. Now, between <head> and </head>, copy this code:

<SCRIPT LANGUAGE="JavaScript" ID=code>
var colors=new Array
("red", "orange", "yellow", "green", "blue", "indigo", "violet");
function rainbow() {
// cycle through colors on the timer
var el = document.all.rainbow;
if (null==el.color) el.color = 0; // store color index on element
if (++el.color==colors.length) el.color=0;
el.style.color = colors[el.color];
window.tm=setTimeout('rainbow()',1500);
}
window.onload = rainbow;
</SCRIPT>

Now, see where I wrote ("red", "orange", "yellow", "green", "blue", "indigo", "violet")? You can write any colors you want in place of the ones I already have!

The next part of the code should be placed wherever you want the rainbow text to go. It is:

<H4 ID="rainbow">YOUR TEXT HERE. YOUR TEXT HERE. YOUR TEXT HERE.</H4>

You can change the size of your text by changing the H4 (note: their's 2-before AND after your text). H1 is the biggest and H8 is the smallest!

Now voila, you got rainbow text!

--RAE

Hosted by www.Geocities.ws

1