Change this:
Code:
function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}
to:
Code:
function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else if (selectedopt.getAttribute("target")==null||selectedopt.getAttribute("target")=='')
window.location=selectedopt.value
else
parent.window[selectedopt.getAttribute("target")].location=selectedopt.value
}
Then as in the example where you can use target="newwin", you may now use a frame or iframe name as well. May cause problems in some older browsers.
Bookmarks