home *** CD-ROM | disk | FTP | other *** search
- <ccResource>
- <ccTitle>
- Opens A Seperate Window - N
- </ccTitle>
- <ccCategory>
- Browser
- </ccCategory>
- <ccDescription>
- This script opens a separate window for the locations you give it. Pages are neat but pictures make a cool photo album.
- </ccDescription>
- <ccInstructions>
- Change the attributes that read menubar=0,toolbar=0, etc... and Width & Height
- to meet your needs. Make sure you place the URL's you want to go to and their names below.
- </ccInstructions>
- <ccHeadContent>
- </ccHeadContent>
- <ccBodyContent>
- <script language="JavaScript">
- <!-- Hide the script from old browsers --
- function surfto(form)
- {
- var myindex=form.dest.selectedIndex
- window.open(form.dest.options[myindex].value,"main","menubar=1,toolbar=0,location=0,directories=0,status=1,copyhistory=0,width=235,height=235");
- }
- //-->
- </SCRIPT>
- <CENTER>
- <FORM NAME="myform">
- <SELECT NAME="dest" SIZE=1>
- <OPTION VALUE="http://www.coffeecup.com">CoffeeCup Software
- <OPTION VALUE="http://www.tmcm.com">Too Much Coffee Man
- <OPTION VALUE="http://www.netscape.com">Netscape
- <OPTION VALUE="http://www.infoseek.com">InfoSeek
- </SELECT>
- <P>
- <INPUT TYPE="BUTTON" VALUE="Go !" onClick="surfto(this.form)">
- </FORM>
- </CENTER>
- </ccBodyContent>
- <ccElementContent>
-
- <ccElementName></ccElementName>
- <ccElementAction></ccElementAction>
-
- </ccElementContent>
- <ccExtraData>
-
- </ccExtraData>
- </ccResource>