+ Reply to Thread
Results 1 to 4 of 4

Thread: Search Bar Help

  1. #1
    scamron is offline x10Hosting Member scamron is an unknown quantity at this point
    Join Date
    May 2010
    Posts
    13

    Search Bar Help

    Okay, I'm having some trouble with my search bar.

    Currently, I have a search bar built into my header (see below)


    The bar works fine, but when you enter a query only the URL in the address bar changes.

    I want the bar to open up a new page showing the results (just like if you type something into Google).

    Any ideas?

  2. #2
    techairlines's Avatar
    techairlines is offline x10 Flyer techairlines has much to be proud oftechairlines has much to be proud of
    Join Date
    Jul 2009
    Location
    New York City
    Posts
    2,853

    Re: Search Bar Help

    Hmm do you have a live website link we can try (to look at the source code for problems)?
    Best regards,
    Brian Yang - TechAirlines


    How am I doing? Click the star button at the bottom left to rate this post. Thanks.
    Terms of Service | Account Portal | Wiki

  3. #3
    scamron is offline x10Hosting Member scamron is an unknown quantity at this point
    Join Date
    May 2010
    Posts
    13

    Re: Search Bar Help

    http://www.scamron.x10.mx

    Top right corner.

  4. #4
    techairlines's Avatar
    techairlines is offline x10 Flyer techairlines has much to be proud oftechairlines has much to be proud of
    Join Date
    Jul 2009
    Location
    New York City
    Posts
    2,853

    Re: Search Bar Help

    Hmm it appears you are missing a form action :

    HTML Code:
    <div id="search"> 
    <form method="get" action=""> 
    <fieldset><input type="text" name="s" id="search-text" size="15" /><input type="submit" id="search-submit" value="GO" /></fieldset></form></div><!-- end #search --></div>
    The form action tells the server what to do with the submitted query.

    The search takes me to /?s=SEARCHTERM which is the format for Wordpress only but not necessarily other scripts.
    Last edited by techairlines; 05-09-2010 at 09:51 AM.
    Best regards,
    Brian Yang - TechAirlines


    How am I doing? Click the star button at the bottom left to rate this post. Thanks.
    Terms of Service | Account Portal | Wiki

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 03-13-2010, 04:57 PM
  2. Search bar?
    By swantonbomb88 in forum Programming Help
    Replies: 6
    Last Post: 04-02-2008, 10:05 PM
  3. Replies: 1
    Last Post: 02-03-2008, 12:29 PM
  4. Google Search engine or Yahoo Search engine?
    By satheesh in forum Crossfire
    Replies: 39
    Last Post: 12-06-2007, 11:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers