home *** CD-ROM | disk | FTP | other *** search
- <html>
-
- <head>
-
- <title>Where Do You Wanna Go?</title>
-
- </head>
-
- <script language="JavaScript">
-
- <!---// hide the script from older browsers
-
-
-
- //this is the 'jump' function, that we'll use to accept input from
-
- //the form, and redirect the user to what the URL they entered
-
- //this function is called with one argument (frm) which is a reference
-
- //to the form that the user filled in.
-
-
-
- function jump(frm){
-
- //the frm object has an element called URL, we'll use that value
-
- //for the new location for this window.
-
- window.location = frm.URL.value;
-
- }
-
- }
-
-
-
- // end hiding --->
-
- </script>
-
- <body bgcolor="#FFFFFF">
-
- <center>
-
- <form>
-
- <h2>Where To?</h2>
-
- <br>
-
- <input type="text" name="URL" value="" size=35>
-
- <br>
-
- <input type="button" onClick="jump(this.form)" value="Jump!">
-
- </form>
-
- </center>
-
- </body>
-
- </html>
-
-