Hi I have created a new site yahoogossip and i have added their search box to the site but i would like it to open a new window when a search is performed i have played with it a bit to get the yahoo slogen to sit on top and have tried various target="_blank" in curtain areas of the form but it does not work beow is the code if anyone knows how to do it thanks <form method=get action="http://search.yahoo.com/bin/search" style="float: right;"> <a href="http://www.yahoo.com/"> <img src="http://us.geo1.yimg.com/pic.geocities.com/us/i/geo/ao/us_cat.gif" width=151 height=39 border=0 align=top alt="[ Yahoo! ]"></a><br> <input type="text" name="p" value="" size=18> <input type="submit" name="name" value="Submit Query"> <font size=1> <a href="http://search.yahoo.com/search/options"> options</font></a> </form>
The target="_blank" goes in the form tag, ie; <form method=get action="http://search.yahoo.com/bin/search" style="float: right;" target="_blank"> <a href="http://www.yahoo.com/"> <img src="http://us.geo1.yimg.com/pic.geocities.com/us/i/geo/ao/us_cat.gif" width=151 height=39 border=0 align=top alt="[ Yahoo! ]"></a><br> <input type="text" name="p" value="" size=18> <input type="submit" name="name" value="Submit Query"> <font size=1> <a href="http://search.yahoo.com/search/options"> options</font></a> </form>
Excellent thanks for that I must have tried every where but that spot, althought i think i did this '<form method=get action="http://search.yahoo.com/bin/search" style="float: right target="_blank"> missising out the ;" between the two comments Thanks for your help