| Unfortunately with the method that DW is using to create the jump menu it can not be done through their GUI so you need to go into code view and make some changes.
When you create the jump menu through DW it creates something like this (parts underlined and bold we will be changing):
<head>
<script type="text/javascript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<form name="form" id="form">
<select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)">
<option value="http://library.creativecow.net">Library</option>
<option value="http://forums.creativecow.net">CreativeCOW</option>
</select>
</form>
</body>
</html>
We're going to replace the top part of the javascript with this line:
window.open (selObj.options[selObj.selectedIndex].value,targ);
And then the bottom part of the onChange function simply delete the word parent and leave the two apostrophes.
You should end up something like this:
<head>
<script type="text/javascript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
window.open (selObj.options[selObj.selectedIndex].value,targ);
}
//-->
</script>
</head>
<body>
<form name="form" id="form">
<select name="jumpMenu" id="jumpMenu" onChange="MM_jumpMenu('',this,0)">
<option value="http://library.creativecow.net">Library</option>
<option value="http://forums.creativecow.net">CreativeCOW</option>
</select>
</form>
</body>
</html>
Abraham
Respond to this post • Return to posts index | |