You can now paste the JavaScript code into your web page's code at the place where you want your
button to appear.
With your button code in position all you need to do is
click it, and you will open a new window!
TIPS! You only need to change the
Window Name if you plan to have more than one window-opening button on a page.
If you more than one button to open different files in the same
window, then use the same Window Name for each of the buttons. If you want the files to open in
different windows, then give a new Window Name for each button you create.
You may want to have a Close Window button in the window you open - just as
there is in the window-sample.html you can access through this page's generator.
Here is the JavaScript code for a close window button:
|