Instructions: To open a window only, delete the second line. To close a window only, delete the first line.
Replace the blue text with the value indicated. The purple text is optional and any or all of the
option's specified may be omitted if desired.
Options: |
status - Open window with a status bar.
toolbar - Open window with a toolbar.
menubar - Open window with a menubar.
location - Open window with a location bar.
resizable - Open window that is resizable.
scrollbars - Open window with scrollbars (if necessary).
width - Sets the width of the window.
height - Sets the height of the window. |
Tested On: IE 6, Mozilla 1.3, Opera 7
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide this from older browsers
// This script was written by Protoplasm
// http://geocities.datacellar.net/protoplasm72
window.open("url",
"name of window",
"status, toolbar, menubar, resizable, location, scrollbars, width=600, height=500");
window.close();
// end hide -->
</SCRIPT>