<html> <head> <title>Background Fade from Black to White</title> <script language="Javascript"> <!-- hide and go seek // bgFade by Jeff Pinyan || jefpin@bergen.org // http://www.bergen.org/~jefpin // This script changes the background color from black to white and // then loads a page up. I am working on making it go from color to // color as needed (i.e. red to blue...) n = -1 timerID = null bgFade() function bgFade(){ n++ if (n <= 15){ color = 0 if (n == 10){ color = "AAAAAA" } else if (n == 11){ color = "BBBBBB" } else if (n == 12){ color = "CCCCCC" } else if (n == 13){ color = "DDDDDD" } else if (n == 14){ color = "EEEEEE" } else if (n == 15){ color = "FFFFFF" } else{ color = 111111 * n } document.bgColor = "#" + color timerID = setTimeout("bgFade()",50) } } // end the game --> </script> </head> </html>

1998 Copyright (C) Next Step Software All Rights Reserved