<SCRIPT language="javascript"> var color ; color = prompt("What color should I use for the background?","") ; document.bgColor = color ; </SCRIPT>
The form below was created with code like this:
<FORM NAME=formone> <INPUT NAME=color TYPE="TEXT" SIZE=20> <INPUT TYPE="BUTTON" VALUE="Change the background color!" ONCLICK="document.bgColor=document.formone.color.value;"><BR> </FORM>
<A href="" onMouseOver="document.one.src='bookjar.jpg';" onMouseOut="document.one.src='univ2.jpg';"> <IMG SRC="univ2.jpg" NAME="one"> </A>