by webmaster on Thu Nov 16, 2006 5:47 am
Hi and welcome to DEVPPL
Add this within the <head> - </head> tags:
- Code: Select all
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
Try this:
- Code: Select all
<form>
<select name="meny" onChange="MM_jumpMenu('parent',this,1)">
<option selected>Choose!</option>
<option value="../1.html">1</option>
<option value="../2.html">2</option>
<option value="../3.html">3</option>
</select>
</form>