www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to create a search box

  1. #1
    Join Date
    Apr 2007
    Location
    Dundee, Scotland
    Posts
    53

    How to create a search box

    I've got google search for my entire site, but I want to have a search box on one web page - it's a glossary of terms and all I want is some way of users to search for a term instead of having to scroll through the entire page - kind of like the Ctrl F function - and I know they could just use that but not everybody will.

    Can anyone point me in the direction of how to do it please?

  2. #2
    Join Date
    Jun 2008
    Location
    Europe
    Posts
    1,114
    You need a JavaScript page search. There are a few of them out there.

    http://www.javascriptsearch.org/resu...age+search#914

    Some results.

  3. #3
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372
    Javascript will work, but some prefer PHP, MySQL, or CGI methods to make it happen. If you're searching based on a series of terms you provide, JavaScript is probably the best way to go. If you want a deeper, more intuitive search, PHP or CGI are your best options. You may also be able to find some of these prebuilt functions on the web.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles