Electrode
October 7th, 1999, 04:47 PM
hello, I am using this script in a framed web page,
<TITLE>make a choice</TITLE>
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT>
<CENTER><FORM NAME="links">
<SELECT>
<OPTION VALUE="no link">Make a choice
<OPTION VALUE="http://www.htmlgoodies.com">HTMLgoodies
</SELECT>
<INPUT TYPE="button" VALUE="Go!"
onClick="menu(this.form.elements[0])">
</FORM></CENTER>
HTML programming lets you use Target="_top" with a url in an
AHREF command to open the url or link in a new window, I have
tried using the target command in a number of places within the
script and option commands no luck, what do I need to do to get
the selected option url to open in it's own window? Currently the
script opens the link in the window where the script is located.
Any help would be greatly appreciated.
<TITLE>make a choice</TITLE>
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT>
<CENTER><FORM NAME="links">
<SELECT>
<OPTION VALUE="no link">Make a choice
<OPTION VALUE="http://www.htmlgoodies.com">HTMLgoodies
</SELECT>
<INPUT TYPE="button" VALUE="Go!"
onClick="menu(this.form.elements[0])">
</FORM></CENTER>
HTML programming lets you use Target="_top" with a url in an
AHREF command to open the url or link in a new window, I have
tried using the target command in a number of places within the
script and option commands no luck, what do I need to do to get
the selected option url to open in it's own window? Currently the
script opens the link in the window where the script is located.
Any help would be greatly appreciated.