www.richandlucy.com © www.richandlucy.com
Home | Photos | Stuff | Forum

> Stuff > Lucy's Portfolio! > Javascript Example 4

Create a web page containing a form:

The form should have

  • Input box for Username
  • Password box for Password
  • Button to open another window.

When the Button is clicked it should open another window

The web page contained in the other window should be either

  • an error page, saying that you haven't typed the correct password
  • or a special page containing lots of secret information

The special page should only be accessible to a set of 6 users, all of whom have a different password. The 6 users can only access the secret page if they put in their own correct password.

Note: This is only an example to practice password boxes, opening windows and if/switch statements. It is completely the wrong way to set up secure areas on the Internet or Intranet!


You can see the page created here


2 3 4 5 6 7 8 9 10 11 12 13
© www.richandlucy.com - 2004 All content created and owned by www.richandlucy.com | Contact us