| View previous topic :: View next topic |
| Author |
Message |
noelves
Joined: 11 Dec 2005 Posts: 3
|
Posted: Sun Dec 11, 2005 11:45 pm Post subject: target not working |
|
|
Hi again,
I have added a link for a dictionary and thesaurus reference to my website. As you can see from the code below there are several different url's that the user can go to depending on the type of search they want to perform.
How do I open a new wndow for each location? I tried adding target="_blank" to the submit button, but that doesn't work.
| Code: |
<!--[if IE]><style>#boxsource_td INPUT {height:12pt}</style><![endif]-->
<input type=radio name=Set value="www" checked><a href="http://www.thefreedictionary.com">Dictionary & thesaurus</a><br>
<input type=radio name=Set value="computing-dictionary"><a href="http://computing-dictionary.thefreedictionary.com">Computing Dictionary</a><br>
<input type=radio name=Set value="medical-dictionary"><a href="http://medical-dictionary.thefreedictionary.com">Medical Dictionary</a><br>
<input type=radio name=Set value="legal-dictionary"><a href="http://legal-dictionary.thefreedictionary.com">Legal Dictionary</a><br>
<input type=radio name=Set value="financial-dictionary"><a href="http://financial-dictionary.thefreedictionary.com">Financial Dictionary</a><br>
<input type=radio name=Set value="acronyms"><a href="http://acronyms.thefreedictionary.com">Acronyms</a><br>
<input type=radio name=Set value="idioms"><a href="http://idioms.thefreedictionary.com">Idioms</a><br>
<input type=radio name=Set value="encyclopedia"><a href="http://encyclopedia.thefreedictionary.com">Wikipedia Encyclopedia</a><br>
<input type=radio name=Set value="columbia"><a href="http://columbia.thefreedictionary.com">Columbia Encyclopedia</a></td></tr><tr><td align=right>by:</td>
<td><select name=mode><option value="">Word<option value="?s">Starts with<option value="?e">Ends with<option value="?d">Mentions</select></td>
<td align=right>
<input type=submit name=submit value="Look it up"></td></tr></form></table>
<!--end of dictionary lookup box--></p> |
Thanks,
noelves |
|
| Back to top |
|
 |
|
|
lalalogic 100+ Club
Joined: 16 Aug 2005 Posts: 200
|
Posted: Mon Dec 12, 2005 1:43 am Post subject: Re: target not working |
|
|
hey noelves
add the target="_blank" in the <form> tag instead |
|
| Back to top |
|
 |
noelves
Joined: 11 Dec 2005 Posts: 3
|
Posted: Sun Dec 18, 2005 3:48 am Post subject: Re: target not working |
|
|
hi lalalogic,
Thanks for answering
I'm not quite sure where to put target="_blank" tag within the form tag.
Here is the form the tag:
<form action="http://www.thefreedictionary.com/_/partner.aspx" method=get target="_top" name=dictionary
onsubmit="return dictlookup(this)">
If you could show me where it goes in this tag, I would appreciate it.
Thanks,
noelves |
|
| Back to top |
|
 |
lalalogic 100+ Club
Joined: 16 Aug 2005 Posts: 200
|
Posted: Sun Dec 18, 2005 3:11 pm Post subject: Re: target not working |
|
|
<form action="http://www.thefreedictionary.com/_/partner.aspx" method=get target="_blank" name=dictionary
onsubmit="return dictlookup(this)"> |
|
| Back to top |
|
 |
|