Results 1 to 8 of 8

Thread: Search Box code help.

  1. #1
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default Search Box code help.

    Okay I am using the search box code from here.

    I am trying to use it here and get a search bar like this.

    What did I do wrong? Or forget to add?
    ------------------
    Check out my site here and let me know what you think

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    The jse_form.js file doesn't exist. There could also be other issues. Try to follow the instructions provided in the doc.txt file.

    Good luck!

  3. #3
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default

    The directions where confusing. The file is there now and I put the HTML in the results page.

    However, it is still not working... why does Javascript have to be so confusing!? lol
    ------------------
    Check out my site here and let me know what you think

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    In jse_script.js, you have to put the locations of your files and the keywords:
    Code:
    s[0] = "JSE^form.html^Enter JSE in the example above ...^open source, free, client side";
    s[1] = "JSE DOCUMENTATION^doc.txt^JSE is a client-side local site search engine. Written entirely in JavaScript 1.3 it works with browsers from Netscape 4.7 to Microsoft Internet Explorer 6.0 ...^ faq, docs, instructions";
    I suggest using PHP, considering you have to insert every page. (first you type the name of the document, then the location, then the description, then the key words, all separated by '^'s)
    Jeremy | jfein.net

  5. #5
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default

    so your saying i have to add everypage by hand like that??? i will be here for days hahaha
    ------------------
    Check out my site here and let me know what you think

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Yupp.

    If you gimme a while, I can get a php one going for you... But like I said a while...
    Jeremy | jfein.net

  7. #7
    Join Date
    Aug 2006
    Posts
    235
    Thanks
    30
    Thanked 2 Times in 2 Posts

    Default

    about how long is a while? like a few days or a month? hahaha i need on with less "hands on" work.
    ------------------
    Check out my site here and let me know what you think

  8. #8
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I dont know how long a while is.. Try searching google for free php search scripts.
    Jeremy | jfein.net

Tags for this Thread

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
  •