Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    PotsNPans is offline Master Member
    Join Date
    May 2010
    Posts
    517

    Default adding a search box

    What's the easiest way to add a search box when building your business website?

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,097

    Default

    Here's the minimalist Google search form that you can add to your website and lets your site user alternate search between your site or the entire Google:
    Code:
    <form method="get" action="http://www.google.com/search">
    
    <input type="text"   name="q" size="31"
     maxlength="255" value="" />
    <input type="submit" value="Google Search" />
    <input type="radio"  name="sitesearch" value="" />
     The Web
    <input type="radio"  name="sitesearch"
     value="yoursite url" checked /> search on this site <br />
    
    </form>
    check out Google Custom Search for another options


 

Similar Threads

  1. sign-up box
    By PotsNPans in forum Programming
    Replies: 1
    Last Post: 2011-04-20, 10:40 AM
  2. search box
    By Randy5 in forum How-To
    Replies: 1
    Last Post: 2011-03-10, 08:58 AM
  3. adding a blog
    By PotsNPans in forum How-To
    Replies: 1
    Last Post: 2011-03-10, 07:59 AM
  4. Google box
    By Rusher in forum Troubleshooting
    Replies: 0
    Last Post: 2010-08-19, 10:36 AM
  5. adding a new domain
    By Molly in forum Virtual Server
    Replies: 1
    Last Post: 2010-06-28, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts