Change the Background color of the page
suppose it could be useful for something. Whether this is just
a waste of time or not, I will present you with the code straightaway,
that will allow you to dynamically change the background color
of the page.
document.bgColor = color;
Here is an example of how to change the background color
using the click technique. (The user must click the link to
change the background color.)
Now here is the code to make the links to do the mouseover background color changes. Just be sure
before making these links.
You can also change the background color
when the user simply mouses over a link:
The only thing you have to change in the code shown above is
to replace the
onClick keyword with
Here is an example.
Link back to this page
Copy and paste this HTML code into your page to link back to this very page:
Or just link to the WebCodingTech site:
And your link will look like this:
Copyright © 2005 WebCodingTech.com
Our URL is: