Direct searches in Google and youtube!

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
User avatar
Oliver
BBCoder III
BBCoder III
Posts: 120
Joined: 07 Mar 2010, 11:55

Direct searches in Google and youtube!

Post 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>
User avatar
Oliver
BBCoder III
BBCoder III
Posts: 120
Joined: 07 Mar 2010, 11:55

Re: Direct searches in Google and youtube!

Post by Oliver »

Oveall_header.html.

Find

Code: Select all

<span class="corners-bottom"><span></span></span> 
After add...
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Direct searches in Google and youtube!

Post 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>
User avatar
Oliver
BBCoder III
BBCoder III
Posts: 120
Joined: 07 Mar 2010, 11:55

Re: Direct searches in Google and youtube!

Post by Oliver »

Lots of thanks, its work.
User avatar
eng-joker
BBCoder II
BBCoder II
Posts: 23
Joined: 05 Mar 2010, 01:01
Contact:

Re: Direct searches in Google and youtube!

Post by eng-joker »

Thanks man
Locked