Wybór koloru tła w JavaScript wybór, koloru, tła, javascript, name=quotschemeselquot, language=quotjavascriptquotgt
lt
documentwritequotltcentergtquot
documentwritequotltform, onchange=quotdocumentbgcolor,
ltscript, value=quot0000ffquotgtgranatowyquot
documentwritequotltoption, name=quotkoloryquotgtquot
documentwritequotltselect, wybór, koloru, tła, w, javascript, name=quotschemeselquot, language=quotjavascriptquotgt
lt
documentwritequotltcentergtquot
documentwritequotltform, onchange=quotdocumentbgcolor,
ltscript, =, value=quot0000ffquotgtgranatowyquot
documentwritequotltoption, name=quotkoloryquotgtquot
documentwritequotltselect, value=quotffffffquot, selectedgtbiałyquot
documentwritequotltoption, value=quota0a0a0quotgtszaryquot
documentwritequotltoption, value=quot804040quotgtbrązowyquot
documentwritequotltoption, value=quote9e900quotgtŻoacutełtyquot
documentwritequotltoption, value=quotc70000quotgtczerwonyquot
documentwritequotltoption, value=quota0a0ffquotgtfioletowyquot
documentwritequotltoption, value=quot00ffffquotgtniebieskiquot
documentwritequotltselectgtquot
documentwritequotltformgtquot
documentwritequotltcentergtquot
, value=quotf0f0faquotgtsrebrnyquot
documentwritequotltoption, value=quotff00ffquotgtroacuteżowyquot
documentwritequotltoption, gt
ltscriptgt, thisoptions[selectedindex]valuequotgtquot
documentwritequotltoption,
Niedziela 19 Maj 2024r.
Godz 00:00:00
Postów: 251
Wybór koloru tła w JavaScript
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write("<CENTER>");
document.write("<FORM NAME="Kolory">");
document.write("<select name="schemesel" onChange="document.bgColor = this.options[selectedIndex].value">");
document.write("<option value="FFFFFF" selected>Biały");
document.write("<option value="0000FF">Granatowy");
document.write("<option value="A0A0A0">Szary");
document.write("<option value="E9E900">Żółty");
document.write("<option value="A0A0FF">Fioletowy");
document.write("<option value="C70000">Czerwony");
document.write("<option value="804040">Brązowy");
document.write("<option value="F0F0FA">Srebrny");
document.write("<option value="FF00FF">Różowy");
document.write("<option value="00FFFF">Niebieski");
document.write("</select>");
document.write("</FORM>");
document.write("</CENTER>");
// -->
</SCRIPT>
Darmowy hosting zapewnia PRV.PL