Javascript Help Pop-ups

This is a simple Javascript example of Pop-up help windows. If you do a view source, you will see the Javascript logic to do it.

The "View" button below will open a second small window, with some help text. This uses a function "test1()", which also gives the window focus after opening, in case it is already open and is hidden behind the current window.

The "Hide" button calls "test2()" which will only close the window if it has already been opened, thus avoiding errors. Also an unload of the page (eg. try doing a refresh) will also close the help window - this is done with the "UnLoad" on the BODY tag.

Try clicking Hide or Refresh before anything else - you shouldn't get an error.

Notes:

For more info mail me Kean Maizels