|
-
October 7th, 1999, 04:47 PM
#1
Opening Java script links in a new window from a framed web page
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|