|
| |||||||
| |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
| | #1 (permalink) |
| Not related to Mattard Join Date: Jun 2003
Posts: 87
| Integratting a google search bar into a website I can get the search working, but it just searches the internet as a whole, where do i enter the "value=site.com" so it stays specific to the site?
__________________ [00:41] Paen: it just slides down your throat |
| | |
| | #2 (permalink) |
| Never Go Full Retard Join Date: May 2002 Location: Hell
Posts: 5,618
| I'd suggest you start by doing a "View Page Source" on any page on the forums... or just do a Google Search on this page and look at the GET string it passes to google. Anyway... the parameter is called "sitesearch" and you just need to put a hidden input element in the form and set its value to the site you want to search. Edit: there's another parameter called "domains" which is what places the radio buttons for "Search www" or " Search site.com" on the google page you send them to. You may want to set that one too. Last edited by Vorph : 04-28-2006 at 12:39 AM. |
| | |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |