Results 1 to 6 of 6

Thread: Internal Site Search script

  1. #1
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Internal Site Search script

    Could anyone help me out with this? I have tried loads of them but they don't seem to work...

    thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Please post in the correct forum: this isn't a DD scripts question, and better belongs in the JavaScript forum.

    Anyhow, the best JavaScript internal search scripts simply access a major search engine like Google to do the searching. For example:

    http://www.javascriptkit.com/script/...e_search.shtml
    http://www.javascriptkit.com/script/...e_search.shtml

  3. #3
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Oh, I'm sorry....

    Well, thanks. These are exactly the ones I was using and were not working. I just thought someone might know something different. But thanks anyway...

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hmmm what's the error exactly? As long as your site is adequately crawled by Google for example, the scripts above simply queries Google for the search terms on your site. Of course if you site is new and hasn't been crawled yet by the major search engines, these scripts will not work.

  5. #5
    Join Date
    Jul 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It's not quite new...it's an updated version... with lost of new pages....
    Ok, thanks then.... it must be that the problem....

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    HTML Code:
    <input type="text" id="search"/>
    <button onclick="window.location.href=document.getElementById('search').value+'+site:mysite.com';">Search!</button>
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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