Denne er er ret lækker. Nemt at angive target også.
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
<!--
function JumpMenu(selObj,restore){
var theFullString = selObj.options[selObj.selectedIndex].value;
if (restore) selObj.selectedIndex=0;
var theLength = theFullString.length;
var endPos = theFullString.lastIndexOf("~");
var theUrl, theTarget, theParent;
if (endPos > 0) {theUrl = theFullString.substring(0,endPos);}
else {theUrl = theFullString;}
endPos++
if (endPos < theLength) {theTarget = theFullString.substring(endPos,theLength)}
else {theTarget = "window:Main";}
if (theTarget == "window:New") {window.open(theUrl);}
else if (theTarget == "window:Main") {eval("parent.location='"+theUrl+"'");}
else {eval("parent.frames[\'"+theTarget+"\'].location='"+theUrl+"'");}
}
//-->
</script>
</head>
<body>
<form name="myform">
<select name="mymenu" onchange="JumpMenu(this,0)">
<option value="~" selected>Vælg side...</option>
<option value="
http://www.eksperten.dk~window:New">eksperten.dk</option><option value="
http://www.jubii.dk~window:New">jubii.dk</option></select>
</form>
</body>
</html>