Guest_imported
New member
- Jan 1, 1970
- 0
How can I make the link open in a new window inthe following script?:
<script LANGUAGE="JavaScript">
<!--
function menu(list)
{
location.href = list.options[list.selectedIndex].value
}
// -->
</script>
<form NAME="links"><select><option VALUE="no link"><i>   Select a Song Title</i>
<option VALUE="sorry.htm">-Cyclops
<option VALUE="sorry.htm">-Hell No
<option VALUE="sorry.htm">-Gods of War
<option VALUE="tabs/picasso/1000.htm">-1000 Points of Light
<option VALUE="sorry.htm">-Laughing in the Hiding Bush
<option VALUE="sorry.htm">-Change of Heart
<option VALUE="sorry.htm">-Shoot all the Clowns
<option VALUE="sorry.htm">-Fire
<option VALUE="tabs/picasso/sacredcowboys.htm">-Sacred Cowboys
<option VALUE="tabs/picasso/dragon.htm">-Tears of the Dragon
</select><input TYPE="button" VALUE="Go!"
onClick="menu(this.form.elements[0])"></form>
Thanks for any help
<script LANGUAGE="JavaScript">
<!--
function menu(list)
{
location.href = list.options[list.selectedIndex].value
}
// -->
</script>
<form NAME="links"><select><option VALUE="no link"><i>   Select a Song Title</i>
<option VALUE="sorry.htm">-Cyclops
<option VALUE="sorry.htm">-Hell No
<option VALUE="sorry.htm">-Gods of War
<option VALUE="tabs/picasso/1000.htm">-1000 Points of Light
<option VALUE="sorry.htm">-Laughing in the Hiding Bush
<option VALUE="sorry.htm">-Change of Heart
<option VALUE="sorry.htm">-Shoot all the Clowns
<option VALUE="sorry.htm">-Fire
<option VALUE="tabs/picasso/sacredcowboys.htm">-Sacred Cowboys
<option VALUE="tabs/picasso/dragon.htm">-Tears of the Dragon
</select><input TYPE="button" VALUE="Go!"
onClick="menu(this.form.elements[0])"></form>
Thanks for any help