Don't like what you see? Pick a new background color from the control panel below.
This illustrates the power of client-side scripting.
Here is the code that makes this page work:
<
html><
head><script language="JavaScript"><!-- hide javascript
function changeBackground(hexNumber) {
document.bgColor=hexNumber;
}
// done hiding -->
<
/script><
title>Change Background Color</title><
meta name="GENERATOR" content="Microsoft FrontPage 3.0"><
/head><
body><
h1><font face="Times New Roman" color="#000080">Interactivity For Your Visitors</font></h1><
p><b><font face="Times New Roman" size="3" color="#000080"> </font></p><
p><font face="Times New Roman" size="3" color="#000080">Don't like what you see? Pick anew background color from the control panel below. <
/font></b></p><
p><font face="Times New Roman" size="3" color="#000080"><b>This illustrates the power ofclient-side scripting. <
/b></font></p><
p><b><font face="Times New Roman" size="3" color="#000080"> </font></b></p><
form method="post" name="background"><
p><input type="button" value="red" onclick="changeBackground('#cc0000')"> <inputtype="
button" value="green" onclick="changeBackground('#006600')"> <input type="button"value="
yellow" onclick="changeBackground('#ffff99')"> <input type="button" value="white"onclick="
changeBackground('#ffffff')"> <input type="button" value="black"onclick="
changeBackground('#000000')"> <input type="button" value="grey"onclick="
changeBackground('#666666')"> </p><
/form><
p align="left"><a href="index.html">Return to the Netcue Homepage</a></p><
hr><
p>Here is the code for this page: </p><
p> </p><
/body><
/html>