|
Drop Down Menue with automatic redirect |
|
Sunday, 23 January 2005 |
This is a simple drop down menue which is great to simplify the site navigation
Place this code where you would like the box to appear.
<Script language="JavaScript">
<!-- Script courtesy of http://www.wiregorilla.com
function goto(form) { var index=form.select.selectedIndex
if (form.select.options[index].value != "0") {
location=form.select.options[index].value;}}
//-->
</SCRIPT>
<FORM NAME="form1">
<SELECT NAME="select" ONCHANGE="goto(this.form)"
SIZE="1">
<OPTION VALUE="">-------Choose a Selection-------
<OPTION VALUE="http://www.wiregorilla.com ">WiredGorilla
<OPTION VALUE="http://www2.technobabble.com.au/">TechnoBabble
<OPTION VALUE="http://wiredgorilla.com/main/article-topic-3.html">HTML
Tips
<OPTION VALUE="http://ausweb.com.au">Web Hosting in Australia
<OPTION VALUE="http://fastdot.com/">FASTdot Hosting
<OPTION VALUE="http://domains.ausweb.com.au/">Domain Names</SELECT>
</FORM> |
|