Page 1 of 1

Direct searches in Google and youtube!

Posted: 22 Mar 2010, 13:14
by Oliver
there is a direct google and youtube search engines. Themselves in a new window will open, etc. Really convenient.

How do I change the code so that I can youtube search box next to google?

[hsimg]http://img100.imageshack.us/img100/8114/kysymys.jpg[/hsimg]

Thanks. ;)

Code: Select all

<!-- Search Google -->
<FORM method=GET action="http://www.google.com/search"target="_blank">
<TABLE bgcolor="#eff3f6"><tr><td>
<A HREF="http://www.google.com/"target="_blank">
<IMG SRC="http://www.kuvat.fi" border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=51 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value="en">
<INPUT type=submit name=btnG VALUE="Hae">
</td></tr></TABLE>
</FORM><!-- Search Google --><!-- Search Youtube -->
<FORM method=GET action="http://www.youtube.com/results" method="get" target="_blank">
<TABLE bgcolor="#eff3f6"><tr><td>
<A HREF="http://www.image.com/">
<IMG SRC="http://www.image.com/" border="0" ALT="youtube" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value="en">
<INPUT type=submit name=btnG VALUE="Hae">
</td></tr></TABLE>
</FORM>
<!-- Search Youtube --></div></div></div><br>

Re: Direct searches in Google and youtube!

Posted: 22 Mar 2010, 13:46
by DannyG
what file does it go in?

Re: Direct searches in Google and youtube!

Posted: 22 Mar 2010, 14:00
by Oliver
Oveall_header.html.

Find

Code: Select all

<span class="corners-bottom"><span></span></span> 
After add...

Re: Direct searches in Google and youtube!

Posted: 22 Mar 2010, 15:30
by cisco007
try this, i tried to get it validated also!
next time try no to use any capital letters in your html!

Code: Select all

<table bgcolor="#EFF3F6">
<tr>
<td><!-- Search Google -->
<form method="get" action="http://www.google.com/search" target="_blank"><a href="http://www.google.com/" target="_blank"><img src="http://www.kuvat.fi" border="0" alt="Google" align="left" /></a> <input type="text" name="q" size="51" maxlength="255" value="" /><input type="hidden" name="hl" value="en" /><input type="submit" name="btnG" value="Hae" /></form>
<!-- Search Google --></td>
<td><!-- Search Youtube -->
<form action="http://www.youtube.com/results" method="get" target="_blank"><a href="http://www.image.com/"><img src="http://www.image.com/" border="0" alt="youtube" align="left" /></a> <input type="text" name="q" size="31" maxlength="255" value="" /><input type="hidden" name="hl" value="en" /><input type="submit" name="btnG" value="Hae" /></form>
<!-- Search Youtube --></td>
</tr>
</table>

Re: Direct searches in Google and youtube!

Posted: 22 Mar 2010, 15:46
by Oliver
Lots of thanks, its work.

Re: Direct searches in Google and youtube!

Posted: 23 Mar 2010, 11:42
by eng-joker
Thanks man