Legal Real estate Insurance Website Hosting Travel Agents Internet & Phone Casino Sports Book Templates Expat Food Items Domain Names
Submit Engine Send e-Cards Shopping Mall Travel Guide Missing Persons Free Web Based E-mail Search The Web Webmaster Tools Dating Service Blog read now Play Flash Games
Free E-books Free Legal Forms Reference Programs Scripts Affilliate Videos Free Adsense Templates Erotic phone Java games
Send SMS to USA FAQ's & Advice Expat Profile Consumer Protection Testimonials Pattaya's WeatherThai Food Recipes Free Articles Free Magazines
Pattaya City Thailand, legal, real-estate and discount international telephone services

Webmaster Tips, Tricks & Utilities    JavaScripts & CSS Styling

      Cool Fading Colour Effect

This JavaScript will allow you to add text to your website that fades into different colours. This is very easy to install!

First off, copy and paste the following code into the <head> section of your webpage's source code:

<script type="text/javascript">
function change()
{
re="rgb("+Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+","+Math.round(Math.random()*256)+")"
text.style.color=re;
}
setInterval(change,1000);
</script>

Once that is in the head section of your webpage, you can paste this code into the body of your webpage where you would like the text to appear:

<p id="text"> Here is where you type your text. </p>

The <p> tag is referred to as a paragraph tag. Between the opening and closing paragraph tags, you can type in as much or as little text as you want.

Your visitors will love this effect -- it works in all browsers and can catch anyone's attention!

 

 

Pattaya City Thailand, legal, real-estate and discount international telephone services



Google