Help grab the script Free

- Increase your traffic! Join Splash Sites, and improve your ranking -

COMMENTS: Flickers Background.

Call the function with this command (you do kind of need to copy the function to your page first):

bgChanger("FFFFFF","000000",25);

The parameters are as follows:

"FFFFFF"
     The first parameter names the BGCOLOR to begin with

"005A96"
     The first parameter names the BGCOLOR to end with

25
     The last parameter tells the script how many "steps" to use to fade
     between the first and last BGCOLOR. (25 is fairly flicker free on 
     my system ... 50 is smoother)

Notes:

  1. You must use hex values ... color names will not work
  2. Don't put a "#" in front of the parameters, just use the Hex values
  3. The larger the last number the smoother the transition will look
  4. You can "stack" bgChanger commands to go from one color to another and another and another (like this page does ... just view the source of this page and reload to see it work)

Site map Java City 2000 - Java Scripts, Java Applets, HTML, Tutorials, Midi's. Links