Home

Javascript

Bottom




< d e v h e a d : s c r i p t l i b r a r y >

Script: 0123
Type: JavaScript
------------------------------------------------

To install this script, follow this simple step:

1. Cut and paste this into the BODY of your document:

<FORM NAME="colortheme">
<INPUT TYPE="button" value="Click for Orange Background"
onClick="document.bgColor='orange';return true"><p>
< INPUT TYPE="button" value="Click for Indigo Background"
onClick="document.bgColor='indigo';return true"></p>  /FORM>

------------------------------------------------
ZDNet (c) 1999. DevHead and ScriptLibrary provides
these scripts as a free service to our users. The
scripts have been provided by the author for use
within the resource and are "freely distributable."
Scripts remain the property of the author, unless
otherwise indicated.















< d e v h e a d : s c r i p t l i b r a r y >

Script: 0193
Type: JavaScript
------------------------------------------------

To install this script, follow this simple step:

1. Cut and paste this into the BODY of your document:

<FORM>

<!-- This script and many more are available online from -->
<!-- The JavaScript Source!! http://javascriptsource.com -->

<SELECT Size=5 name=clr onChange="document.bgColor=this.options[this.selectedIndex].value">
< OPTION VALUE="blue">blue
<OPTION VALUE="aquamarine">aquamarine
< OPTION VALUE="chocolate">chocolate
<OPTION VALUE="darkred">dark red
< OPTION VALUE="gold">gold
<OPTION VALUE="red">red
< OPTION VALUE="yellow">yellow
<OPTION VALUE="hotpink">hotpink
< OPTION VALUE="lime">lime
<OPTION VALUE="darkkhaki">dark khaki
< OPTION VALUE="cadetblue ">cadet blue
<OPTION VALUE="darkgoldenrod">dark goldenrod
< OPTION VALUE="darkslateblue">dark slate
<OPTION VALUE="blue">blue
< OPTION VALUE="deeppink">deep pink
<OPTION VALUE="darksalmon">dark salmon
< OPTION VALUE="salmon">salmon
<OPTION VALUE="tan">tan
< OPTION VALUE="wheat">wheat
<OPTION VALUE="tomato">tomato
< OPTION VALUE="springgreen">springgreen
<OPTION VALUE="turquoise">turquoise
< OPTION VALUE="white" SELECTED>White
</SELECT>
</FORM>

------------------------------------------------
ZDNet (c) 1999. DevHead and ScriptLibrary provides
these scripts as a free service to our users. The
scripts have been provided by the author for use
within the resource and are "freely distributable."
Scripts remain the property of the author, unless
otherwise indicated.






















Home

Top












Hosted by www.Geocities.ws

1