Uncle Jim's Web Site Designs
JAVASCRIPT EXAMPLES
STATIC BACKGROUND
This is an example of how to keep your background image stationary while having your text move across the background.
This JavaScript tells your page to keep the background image still or "static". This script can be set to load a different background image than the one chosen for the HTML page. This way, if the visitor does not have the proper Java enhancements, they will simply see the primary background chosen in the body tag and the page will look normal.
Though this is a fairly common script, it has a nice look and gives the visitor a different style of page to see.
The only problem with this style arises when you use images on your page. because the images are not transparent, they tend to override the look of the page. I would therefore suggest you use this style for text only pages. If you do use images, you should place them either on the sides or bottom of the page.
You should also be careful to ensure that the font color you use does not blend in with the background. This makes it more difficult for the viewer to read what you are trying to tell them.
CLOSE THIS WINDOW