JavaScript - Background сменящ се с FORM


<SCRIPT LANGUAGE="JavaScript">
<!--
document.write("<RIGHT>");
document.write("<FORM NAME=\"Colors\">");
document.write("<select name=\"der_gilb\" onChange=\"document.bgColor = this.options[selectedIndex].value\">");
document.write("<option value=\"FFFFFF\" selected>White");
document.write("<option value=\"0000FF\">Navy");
document.write("<option value=\"A0A0A0\">Gray");
document.write("<option value=\"E9E900\">Yellow");
document.write("<option value=\"A0A0FF\">Purple");
document.write("<option value=\"C70000\">Maroon");
document.write("<option value=\"FFFFA0\">Brown");
document.write("<option value=\"F0F0FA\">Silver");
document.write("<option value=\"FF00FF\">Fuchsia");
document.write("<option value=\"00FFFF\">Blue");
document.write("<option value=\"000000\">Black");
document.write("<option value=\"FF0000\">Red");
document.write("<option value=\"00FF00\">Green");
document.write("</select>");
document.write("</FORM>");
document.write("</RIGHT>");
// -->
</SCRIPT>



/ Трябва да сте регистриран за да напишете коментар /