I tried posting this once before but have never seen it appear, so if it a repeat I appologize.
What i am wanting to do is have a pop-up window which i can create. Then, put a dropdown box with links to other pages. My dropdown box script is as follows:
<head>
<script language=”JavaScript” type=”text/JavaScript”>
<!–
function MM_jumpMenu(targ,selObj,restore){
eval(targ+”.location='”+selObj.options[selObj.selectedIndex].value+”‘”);
if (restore) selObj.selectedIndex=0;
}
//–>
</script>
</head>
<body>
<p>
<select name=”menu1″ onChange=”MM_jumpMenu(‘parent’,this,0)”>
<option selected>Scroll to Select</option>
<option value=”new_dawn.htm”>Return to Directory</option>
</select>
</p>
</body>
This works fine IF, the dropdown box is on the main window, BUT if put this script on the pop-up window, it will open the link in the pop-up window, not in the main window, which is what i want it to do.
Does any know how to change this script so that the new page opens in the main window???