Click here!
 

Upload    Contact    Home
 


R E S O U R C E S

HTMLStuff:

 
 
Home
Artist
Designer
Webmaster
Programmer
What's New
* Resources
 

 

 

JavaScript Tutorial Pop-Up Window Attributes

Option Choice Description 1.2
alwaysLowered yes/no or 1/0   x
alwaysRaised yes/no or 1/0   x
dependent yes/no or 1/0   x
directories yes/no or 1/0 Displays the directory buttons  
height pixel size Height of the window  
hotkeys yes/no or 1/0   x
innerHeight pixel size (replaces height) x
innerWidth pixel size (replaces width) x
location yes/no or 1/0 Displays the address bar  
menubar yes/no or 1/0 Displays the menubar  
outerHeight pixel size   x
outerWidth pixel size   x
resizable yes/no or 1/0 Allows window resizing  
scrollbars yes/no or 1/0 Displays the window scrollbars  
screenX position in pixels The horizontal position that the window will open on (starting from the left of the screen) x
screenY position in pixels The vertical position that the window will open on (starting from the top of the screen) x
status yes/no or 1/0 Displays the status bar (found at the bottom)
titlebar yes/no or 1/0   x
toolbar yes/no or 1/0 Displays the toolbar  
width pixel size Width of the window  
z-lock yes/no or 1/0   x
Note: Event-handlers that are marked with an "x" are from JavaScript 1.2 and can only be used with newer browsers like Netscape and Internet Explorer, versions 4.0 and above.

When using more than one attribute at a time separate them by a comma (,). Do not place any spaces between any of the attributes. Here is an example:

    var newWin = window.open("someFile.html", "someName", "height=200,width=300,scrollbars=no");

Head on to:
JavaScript Escape Characters
JavaScript Comparison and Logic Operators
JavaScript Event Listing
Pop-Up Window Attributes


Back to Tutorial Menu
Back to Programmer Main Page
Back To HTML Stuff Main Page

 

  News   Contact   Advertise   CD ROM   Search   Upload   Help   Home

Copyright © 2000 Tucows.Com Inc.
TUCOWS.Com Inc. has no liability for any content or goods on the TUCOWS site or the Internet, except as set forth in the terms and conditions and privacy statement.