free hosting
image hosting
hosting reseller
online album
e-shop
famous people
Background Colour Change
On Mouseover
Another neat script from
www.24.fun.com
.
Place your mouse over any link, and the page bacground colour will change.
No scripting is used - just set up your links using this format:
Any_URL
How It Works
The statement
document.bgColor
is a standard style sheet command.
Normally this is used for a general style sheet master page, for determining the overall style characteristics of an entire web site.
But as you can see, it can be used for other stuff.
On mouseover, the background changes to the new colour.
On mouseout, it reverts to the original colour.
Simple!
Try It Out
Change this page's background colour
© 2001 CyberSchool
Last Update: