HighDots Forums  

free google seacrh script how 2 open new window?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss free google seacrh script how 2 open new window? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tammacbam
 
Posts: n/a

Default free google seacrh script how 2 open new window? - 07-07-2004 , 04:58 AM






hi,

i have downloaded the free google search engine for use within a website, but
I want google to open the results in a new window.

I have used <A HREF="http://www.google.com/search?safe=vss" target="_blank>
but this will not open a new window.

thanks in anticipation......


Reply With Quote
  #2  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: free google seacrh script how 2 open new window? - 07-07-2004 , 05:18 AM






tammacbam wrote:
Quote:
hi,

i have downloaded the free google search engine for use within a website, but
I want google to open the results in a new window.

I have used <A HREF="http://www.google.com/search?safe=vss" target="_blank
but this will not open a new window.

thanks in anticipation......

Try look for a missing " at your desk.
It has dropped from between blank and >
The tag should look:
<A HREF="http://www.google.com/search?safe=vss" target="_blank">


Reply With Quote
  #3  
Old   
ZhongQiang
 
Posts: n/a

Default Re: free google seacrh script how 2 open new window? - 07-07-2004 , 05:32 AM



Hi tammacbam,

It should be something like the following code for a form

<form action="http://www.google.com.sg/search?hl=en&ie=UTF-8&q=" method="get"
name="form1" target="_blank">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="Submit">
</form>

if its a links, then it should be <a href="something.htm" target=_blank">


Originally posted by: tammacbam
hi,

i have downloaded the free google search engine for use within a website, but
I want google to open the results in a new window.

I have used a href="http://www.google.com/search?safe=vss" target="_blank tag
but this will not open a new window.

thanks in anticipation......




Reply With Quote
  #4  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: free google seacrh script how 2 open new window? - 07-07-2004 , 05:37 AM



ZhongQiang wrote:

Quote:
if its a links, then it should be <a href="something.htm" target=_blank"
Almost:
You also dropped a ", but the other one. ;-)



Reply With Quote
  #5  
Old   
tammacbam
 
Posts: n/a

Default Re: free google seacrh script how 2 open new window? - 07-07-2004 , 05:38 AM



thanks ZhongQiang

the answer lay in adding the target="_blank" to the end of the form tag.

cheers

Reply With Quote
  #6  
Old   
ZhongQiang
 
Posts: n/a

Default Re: free google seacrh script how 2 open new window? - 07-07-2004 , 05:40 AM



you are most welcomed. all the best! =)

Originally posted by: tammacbam
thanks ZhongQiang

the answer lay in adding the target="_blank" to the end of the form tag.

cheers



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.