|
hello i want to use the code which is offered by google for putting a google search on any website. how can i make the results open in a new page?
heres the code
<!-- Search Google -->
<center>
<FORM method=GET action="http://www.google.de/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.de">
<IMG SRC="http://www.google.de/logos/Logo_40wht.gif" border="0"
ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value=de>
<INPUT type=submit name=btnG VALUE="Google Search">
</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->
|
|
|
|
|
Troy - are you certain that works? I seem to remember trying that some years back and it not working, but I could be mistaken.
|
|
|
i tested it and it works. but i use it as my signature in a forum and there it unfortunately doesnt work. well..sometimes it does and sometime it doesnt. it depends on the layout the user has selected.
|
|
|
OK Thanks sharky. You learn new something every day! Perhaps the forum has some kind of html filter on or something.
|
|
|
I almost always test my solutions before posting unless I'm positive the solution works without testing. (Of course even when I'm sure, I'm sometimes wrong!)
The alternative to "target=_blank" is much more involved. You would have to:
o use javascript to open a new window
o use javascript to re-write your form to the new window
o use javascript to submit() the form in the new window
Glad I could help, sharky.
|
|
|
|
|
hello i want to use the code which is offered by google for putting a google search on my website to. how can i make the results open in a new page in a specified area?
|
|
|