<html> <head> <title>New Page 3</title> <meta name="GENERATOR" content="Copyright Next Step Software 1998 (c) "> <script LANGUAGE="JavaScript"> //JavaScript Keyworder Version 1.0 // I got this idea from AOL's Keyword area and found it could be done in JavaScript! //Created by Jimmy Schroering - PC Help-Net. //2/12/98 (C) 1998 Jimmy Schroering //You are free to use this script, but please keep the comments in place,thanks! //E-Mail = webmaster@pchelpnet.com URL = http://www.pchelpnet.com //SETUP //First Create your pages, if you want a page to be a keyword, put some sort of message on the page like "Keyword : Home". //USE ONE WORD FOR A KEYWORD! //Name the page the EXACT same as the keyword name you gave it, with a .html extension(example - Home.html). This script is case sensetive. //Next, simply upload your pages to the same directory as the page which contains this scipt. //Fianlly when a user wants to reach a keyword page, they just type the //keyword in the textbox and CLICK the button(pressing enter will just reload the page!) //Problems - Email me at webmaster@pchelpnet.com //Define Function function keyword(keyw) { var keyword= '' //Import page address //"keyw is the word the user types into the form location.href= keyw + ".htm"; } </script> </head> <body> <form name="keyw"> <p><input TYPE="TEXT" NAME="key" size="20"><input TYPE="button" VALUE="Go To Keyword" onClick="keyword(form.key.value)"> <input TYPE="RESET" VALUE="Clear"> </p> </form> <p>This will basically bring up a HTML located in the same directory with what evername they search for.</p> <p> </p> <p>Example if you searched for "index" it would bring up the index page. </p> </body> </html>
1998 Copyright (C) Next Step Software All Rights Reserved