|
|
|
|
|
|
|
Using document.bgColor it's possible to change the background color of a page after it has loaded. Combining document.bgColor with onClick, you can create links that let viewers select their own page background color: | ||||
| Black Background |
|
Gray Background |
|
White Background |
| <a href="javascript:;" onclick="document.bgColor='#999999'">Gray Background</a> | ||||