JavaScript & DHTML - How to change the background of the page with JavaScript?
Imagine a situation where you wish to change in runtime the background color of the current document (not only at the beginning by specifying the bgcolor property of the <BODY> tag). This is quite simple with JavaScript, you just need to call : (for example to get a red background) document.bgColor="FF0000";
Category: | JavaScript & DHTML |
<< Go back