Full version: jsB@nk » Background » List Changer
URL: https://www.javascriptbank.com/list-changer.html
This is a very simple background and foreground changer. It just takes the selected value from the list and makes that the background and foreground color.
Full version: jsB@nk » Background » List Changer
URL: https://www.javascriptbank.com/list-changer.html
<script language="javascript">/* This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/<!-- Beginfunction color() {document.bgColor=(""+ colc.cc.value +"");document.body.text=(""+ colc.tc.value +"");}// End --></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<form name="colc"><table border="1"><td colspan="2"><b><center>Please Enter a Color</td><tr><td><b>Background:</td><td><select name="cc" size="1"> <option value="black">Black<option value="blue">Blue<option value="green">Green<option value="skyblue">Light Blue<option value="orange">Orange<option value="purple">Purple<option value="red">Red <option value="silver">Silver<option value="Yellow">Yellow<option selected value="white">White </select></td><tr><td><b>Text:</td><td> <select name="tc" size="1"> <option selected value="black">Black <option value="blue">Blue<option value="green">Green<option value="skyblue">Light Blue<option value="orange">Orange<option value="purple">Purple<option value="red">Red <option value="silver">Silver<option value="Yellow">Yellow<option value="white">White</select></td><tr><td colspan="2"><center><input type="button" name="button" value="Change Color!" onclick="color()"></td></table></form><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->