ࡱ > 7 9 6 7 / bjbjUU "* 7| 7| / l 2 > > > > J 2 b ( 8 : : : : : : $ o & ^ ^ s " 8 8 V 7ga2 > $ 0 , 2 2 To Add a Java Script Search Engine to your own website, first download the following... HYPERLINK "http://www.htmlgo.com/programs/free/search.js" search.js (Download Time: less than 1 min.) The above file is the java script based program that will perform the search. You will first need to edit the script for use on your own website. This is very simple! Right Click your Mouse Button on the "search" icon. A pulldown menu should appear. Left Click your Mouse Button on the "Edit" Tab. (See Illustration Below) INCLUDEPICTURE "http://www.htmlgo.com/art/editjs01.gif" \* MERGEFORMATINET A Simple Text Editor program, such as Notepad, should open the file allowing you to view and edit it.Find the section of the java script that looks similar to this:d[0] = 'Keywords,Keywords';h[0] = 'http://';u[0] = 'Website Title';a[0] = 'Arthor';b[0] = 'Description';Notice there are several more of these little paragraphs following the same pattern. DO NOT Delete the section shown above for your future reference. The other similar paragraphs should be deleted and are only there as examples. Notice the change in numbers [0],[1],[2]...Repeat the pattern when adding your own pages to the search engine. Replace "Keywords,Keywords" with the keywords that will bring up the page in a search. Seperate each keyword WITH a comma(,) and NO SPACES. Replace "http://" with the URL of the Web Page to be searched for. Replace "Website Title" with a title for the searched Web Page. Replace "Arthor" with the creator of the Web Page. Replace "Description" with a description of the listed Web Page. Every Page you desire to be listed in the search must be added by using this method. NOTE: There will be a symbol that will look like a "box" after each line. DO NOT delete these and make sure they come after each line in of the mini paragraphs. You can add as many of these descriptions as you wish as long as you make sure the bracketed numbers [0],[1],[2] continually increase. Don't forget to save it and upload it to your website as "search.js" You will need to place the line: Between the
and Tags on your web page.Replace "http://www.URL.com/search.js" with the full URL path of the javascript search file including the filename and extension. IMPORTANT: You must also change the same line in the "search.js" javascript document. You should find it about 3 lines down from the top of the page. Finally, Copy and Paste the HTML Code listed below somewhere on your web page. (This will produce a "Search the Website" Box like the one at the top of this page.)Search the Website | |
Enter search words below and then click Search. |