Results 1 to 3 of 3
  1. #1
    dbz is offline Member
    Join Date
    Jun 2012
    Rep Power

    Default Internal Search Engine

    I created a word document with a very long list of documents and I turned it into an .htm file to make an internal search engine that would display a list with only the documents with the key word typed into the "Search" button. I used the html code and the .js code from this website: [Moderator edit: link removed].

    On Dreamweaver, I have an .htm file with the content of the word document converted into .htm, and also the html code for the search engine, which is as labeled search.html on the website. I also have a second file, which is a .js file with the .js content for the search engine (.js Parts 1, 2, and 3 from the website - I changed the siteURL in Part 1 to the name of the file "mydocument.htm").

    However, when I open the .htm file on the Internet, the search function doesn't display any results. The page looks the same.

    How can I tell the search feature to look for the items in the list, which are each enclosed in a separate <p ... </p>? Should I somehow identify each item so the search engine recognizes it, like with number of classes that would correspond to the key words? how can I tell the search feature to look for and show all the items with the given key word?

    Or would anyone recommend a simpler way to create an internal search engine for a list of items that are all on one page?

    Thank you for your help!
    Last edited by DarrylBurke; 06-05-2012 at 07:14 AM. Reason: Removed link

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power

    Default Re: Internal Search Engine

    This is a site for help with development in Java (a different language from JavaScript). So, sorry, but you're in the wrong place.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Internal Search Engine

    Removed the link, closing this off topic thread.


    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. I want to build a Search Engine
    By shahid0627 in forum Forum Lobby
    Replies: 1
    Last Post: 05-17-2010, 11:26 PM
  2. Search Engine on JSP Page
    By samanthamaryhorgan in forum Advanced Java
    Replies: 0
    Last Post: 02-13-2010, 01:40 PM
  3. simple search engine
    By semoche in forum Enterprise JavaBeans (EJB)
    Replies: 3
    Last Post: 12-07-2009, 09:41 AM
  4. Search Engine , Web Crawler
    By sahil.ansari in forum Advanced Java
    Replies: 5
    Last Post: 07-21-2008, 01:53 AM
  5. Search Engine
    By SSam Varghese in forum Java Servlet
    Replies: 5
    Last Post: 01-05-2008, 09:26 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