Shoutbox

website search script - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: website search script (/showthread.php?tid=52267)

website search script by Supersonicdarky on 10-26-2005 at 09:05 PM

i need something that i can add that will search my site, preferably powered by google :)


RE: website search script by Ezra on 10-26-2005 at 09:08 PM

You can use the Adwords search bar by google, you can even get money off it


RE: website search script by M73A on 10-26-2005 at 09:09 PM

i cant remember the code but u can have a search box on ur site.... anbd u type in whatever e.g. 'Ford Focus' but when u press search it goes to google with 'Site:http://yoursite.yourwebpage.com Ford Focus'

(or whatever the code is to search a specifc site.. im sure someone can explain more but thats just the jist of it..


RE: website search script by Supersonicdarky on 10-26-2005 at 09:10 PM

i used adsense,  don;t use it for 2 reasons:

1)banned :(
2)i want an inline script (so it would still be in the website layout)


RE: website search script by albert on 10-26-2005 at 10:58 PM

That should do it.. : http://services.google.com/searchcode2.html

Enjoy


RE: website search script by Supersonicdarky on 10-27-2005 at 01:35 AM

how do i change the following to remove the radio buttons, and automaticly search the website :undecided:

code:
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"
border="0" ALT="Google"></A>
</td>
<td>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
<font size=-1>
<input type=hidden name=domains value="YOUR DOMAIN NAME"><br><input type=radio name=sitesearch value=""> WWW <input type=radio name=sitesearch value="YOUR DOMAIN NAME" checked> YOUR DOMAIN NAME <br>
</font>
</td></tr></TABLE>
</FORM>


RE: website search script by Jimcando on 10-27-2005 at 01:51 AM

There are three scripts, that one is the one with the radio buttons, but you can use this:

code:
<!-- Search Google -->
<center>
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"
border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
</td></tr></TABLE>
</FORM>
</center>
<!-- Search Google -->
To search without radio buttons!
RE: website search script by Supersonicdarky on 10-27-2005 at 01:55 AM

but i still need it to search a specific website :(

nvm, figured it out :)