Search this site!

Return to the CSB Support home page
Drop Down Menu 1   |   Drop Down Menu 2   |   Pull Down Menu (Popup)   |   Drop Down Generator   |   webGFX Nav-O-Mat
Drop Down Menu 2
Description:
This is nearly identical to Drop Down Menu 1, except that this version does NOT open up a new browser window.  
How to use:
1. Simply cut and paste the code provided into a BYOWG
2. Edit the appropriate URLs and descriptions
3. Publish and enjoy!
Example:

Download the code
right click on link, then click on 'Save target (or frame) as'
Other information:
One word of caution: if you publish your Trellix site WITH frames, the linked site opens up within the frame where the drop down menu appears.

Source code:

<SCRIPT language="JavaScript">
<!-- Hide the script from old browsers --

function surfto(form) {
var myindex=form.dest.selectedIndex
window.location=form.dest.options[myindex].value
}

//-->
</SCRIPT>
<br>
<BODY BGCOLOR="FFFFFF">
<CENTER>
<FORM NAME="myform">

<SELECT NAME="dest" SIZE=1>

<OPTION SELECTED VALUE="">--------------- Choose a web site! --------------

<OPTION VALUE="http://www.yahoo.com">Yahoo
<OPTION VALUE="http://www.trellix.com.com">Trellix
<OPTION VALUE="http://cafe.trellix.com">TrellixCafe
<OPTION VALUE="http://www.microsoft.com">Microsoft
<OPTION VALUE="http://www.bravenet.com">Bravenet
<OPTION VALUE="http://www.cnn.com">CNN
<OPTION VALUE="http://www.google.com">Google
</SELECT>
<P>
<INPUT TYPE="BUTTON" VALUE="Click to go to site you just chose!" onClick="surfto(this.form)">
</FORM></CENTER>