P
paintedjazz
I am using the following javascript to make a popup menu allow the
user to navigate to different pages on a website.
Yet it is opening windows as if I have <base target="some-name">
defined in the body.
<script language=javascript>
<!-- Begin
function navigate()
{
open(document.popupForm.popup.options
[document.popupForm.popup.selectedIndex].value,"content");
}
// End -->
</script>
This is the form:
<form name="popupForm">
<select name="popup" onchange="navigate();">
<option selected>Navigate to:
<option value="../../Library">Library
<option value="../Science">Science
<option value="Logos">Logos
</select>
</form>
Can anyone see anything that would be causing this? Thanks for any
help.
user to navigate to different pages on a website.
Yet it is opening windows as if I have <base target="some-name">
defined in the body.
<script language=javascript>
<!-- Begin
function navigate()
{
open(document.popupForm.popup.options
[document.popupForm.popup.selectedIndex].value,"content");
}
// End -->
</script>
This is the form:
<form name="popupForm">
<select name="popup" onchange="navigate();">
<option selected>Navigate to:
<option value="../../Library">Library
<option value="../Science">Science
<option value="Logos">Logos
</select>
</form>
Can anyone see anything that would be causing this? Thanks for any
help.