Go Back   Vista Help Forum » Web Design & Development » Website Design
Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2008
TomBullock TomBullock is offline
Level 1 Member
 
Join Date: Dec 2007
Location: Burnley
Posts: 15
TomBullock is on a distinguished road
Send a message via MSN to TomBullock
Question Site search bar

I have this code:
Code:
<div class="searchform">
          <form action="#" method="get" class="form">
            <fieldset>
              <input value=" Search..." name="field" class="field" />
              <input type="submit" value="Go" name="button" class="button" />
            </fieldset>
          </form>
        </div>
I want to use it for people searching my site.
Is there anyway someone could modify this code so that it just searches my site and NOT the whole internet.



Thank you
Tom Bullock
Reply With Quote
  #2  
Old 01-13-2008
Sandi Sandi is offline
Level 1 Member
 
Join Date: Dec 2006
Posts: 14
Sandi is on a distinguished road
Default

Quote:
Originally Posted by TomBullock
Is there anyway someone could modify this code so that it just searches my site and NOT the whole internet.
Why not just use the free Scroogle search code. Then they will have the option to search your site, or the web.

PHP Code:
<FORM METHOD=POST ACTION="http://www.scroogle.org/cgi-bin/nbbw.cgi">
    <
INPUT type=text name="Gw" SIZE="20" MAXLENGTH="255">
    <
INPUT type="submit" value="Go"><BR><font size=2>
    <
INPUT type=hidden name="n" value="2">
    <
INPUT type=radio name="d" value="http://yourdomain.com" CHECKED>Your Domain
    
<INPUT type=radio name="d" value="*">web&nbsp; &nbsp;
    <
BR></font>
</
FORM
Add your site URL where appropriate. Change SIZE if you want the search input text box longer, the "20" is made for a sidebar.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Review my site johnadam Website Design 0 04-14-2011 05:32 AM
Domain search bar TomBullock Website Design 2 03-02-2011 01:56 PM
MY site disappears. Why? Kolyn_Kryw Search Engines 5 10-21-2010 08:20 AM
Hello nice site BradandPitti Watercooler 1 02-11-2010 11:00 AM
New site logo. admin Watercooler 1 12-22-2006 04:48 PM