Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    268
    hi

    can any of you programming gurus help?

    this is a code for putting a google search on a web page

    <FORM name="google" method=GET action="http://www.google.com/search">
    <INPUT TYPE=text name=q size=15 maxlength=255 value="" ID="ptext">
    <INPUT type=submit name=btnG VALUE="Google">
    </FORM>

    this is what it looks like, it just searches google
    <FORM name="google" method=GET action="http://www.google.com/search">
    <INPUT TYPE=text name=q size=15 maxlength=255 value="" ID="ptext"> <INPUT type=submit name=btnG VALUE="Google">
    </FORM>

    what i want to know is how can i make it go to one of my own pages if someone types in the words "burger" "chocolate" or "soup"?

    [ 12-30-2001: Message edited by: psychomantis ]

  2. #2
    ABW Founder Haiko de Poel, Jr.'s Avatar
    Join Date
    January 18th, 2005
    Location
    New York
    Posts
    21,609
    psychomantis,

    The only way I know to do it is to have the form post to a custom cgi-script that would redirect the search via the specific keyword entered.

    Arsone can do it for ya - http://scriptnetwork.com (ask for the ABW discount [img]/infopop/emoticons/icon_wink.gif[/img] )

    Haiko

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Help with Javascript?
    By SSanf in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: January 24th, 2005, 05:16 PM
  2. Can javascript be seen?
    By tbrown in forum Blocking Tips/Advice/scripts
    Replies: 0
    Last Post: August 5th, 2004, 11:33 AM
  3. JavaScript Help
    By FunPortal in forum Programming / Datafeeds / Tools
    Replies: 6
    Last Post: August 9th, 2003, 02:14 PM
  4. Javascript or otherwise...
    By TH Media in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: December 1st, 2001, 11:21 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
  •