Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


target not working



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
noelves



Joined: 11 Dec 2005
Posts: 3

PostPosted: Sun Dec 11, 2005 11:45 pm    Post subject: target not working Reply with quote

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
View user's profile Send private message
lalalogic
100+ Club


Joined: 16 Aug 2005
Posts: 200

PostPosted: Mon Dec 12, 2005 1:43 am    Post subject: Re: target not working Reply with quote

hey noelves

add the target="_blank" in the <form> tag instead
Back to top
View user's profile Send private message
noelves



Joined: 11 Dec 2005
Posts: 3

PostPosted: Sun Dec 18, 2005 3:48 am    Post subject: Re: target not working Reply with quote

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
View user's profile Send private message
lalalogic
100+ Club


Joined: 16 Aug 2005
Posts: 200

PostPosted: Sun Dec 18, 2005 3:11 pm    Post subject: Re: target not working Reply with quote

<form action="http://www.thefreedictionary.com/_/partner.aspx" method=get target="_blank" name=dictionary
onsubmit="return dictlookup(this)">
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap