home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <title>Page with link to secret page</title>
- <script language="JavaScript">
- <!--
- function visitSecretPage() {
- var password = ''
- password=prompt('Type the password to view the secret page: ','Type password here');
- if (password != null) {
- location.href= password + ".htm";
- }
- }
- // -->
- </script>
- </head>
- <body>
- Click the image and type the password to visit the secret page<p>
- <img src="photo.jpg" onClick="visitSecretPage()">
- </body>
- </html>
-
-