How do they do the sliding-in Google search box?

Discussion in 'HTML' started by ©®, Jan 12, 2006.

  1. ©®

    ©® Guest

    On some sites (especially forum sites), I often see "search" and when I
    click on it there is a Google search box/dialog which "slides" on.

    I am using this code on my page:

    <form method="get" action="http://www.google.com/search">
    <div style="border:1px solid black;padding:4px;width:20em;">
    <table border="0" cellpadding="0">
    <tr>
    <td>
    <input type="text" name="q" size="25"
    maxlength="255" value="" />
    <input type="submit" value="Search" />
    </td>
    </tr>
    <tr>
    <td align="center" style="font-size:75%">
    <input type="checkbox" name="sitesearch"
    value="mysitewordhere.com" checked />
    only search our site<br />
    </td>
    </tr>
    </table>
    </div>
    </form>

    How can I go about using a word (e.g. "search" or "find") so that when
    someone clicks on it, the sliding search box opens up?
     
    ©®, Jan 12, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?TGFrc2htaSBOYXJheWFuYW4uUg==?=

    Google search result like site search!! How?

    =?Utf-8?B?TGFrc2htaSBOYXJheWFuYW4uUg==?=, May 5, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    892
    Lucas Tam
    May 6, 2005
  2. Phillip Roncoroni
    Replies:
    10
    Views:
    1,987
    Toby A Inkster
    Jan 18, 2004
  3. Asfand Yar Qazi
    Replies:
    4
    Views:
    679
    Asfand Yar Qazi
    Nov 12, 2004
  4. Martin M.
    Replies:
    4
    Views:
    517
    Simon Brunning
    Dec 15, 2005
  5. Dave Rudolf
    Replies:
    1
    Views:
    483
    Kai-Uwe Bux
    May 17, 2006
  6. Chris K.
    Replies:
    3
    Views:
    1,008
    Chris K.
    Jun 8, 2008
  7. Replies:
    2
    Views:
    434
  8. Andrey
    Replies:
    1
    Views:
    199
    Thomas 'PointedEars' Lahn
    Jan 3, 2009
Loading...