Results 1 to 3 of 3
Thread: Internal Search Engine
- 06-05-2012, 01:10 AM #1
Member
- Join Date
- Jun 2012
- Posts
- 1
- Rep Power
- 0
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
- 06-05-2012, 02:43 AM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,546
- Rep Power
- 11
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.
- 06-05-2012, 07:14 AM #3
Similar Threads
-
I want to build a Search Engine
By shahid0627 in forum Forum LobbyReplies: 1Last Post: 05-17-2010, 11:26 PM -
Search Engine on JSP Page
By samanthamaryhorgan in forum Advanced JavaReplies: 0Last Post: 02-13-2010, 12:40 PM -
simple search engine
By semoche in forum Enterprise JavaBeans (EJB)Replies: 3Last Post: 12-07-2009, 08:41 AM -
Search Engine , Web Crawler
By sahil.ansari in forum Advanced JavaReplies: 5Last Post: 07-21-2008, 01:53 AM -
Search Engine
By SSam Varghese in forum Java ServletReplies: 5Last Post: 01-05-2008, 08:26 AM


LinkBack URL
About LinkBacks

Bookmarks