HTML DOM outerwidth Property
Complete Window Object Reference
Definition and Usage
The outerwidth property sets or returns the outer width of a window,
including all interface elements.
Syntax
Example
The following example sets the new window to be 100x100 pixels:
<html>
<body>
<script type="text/javascript">
myWindow=window.open('','')
myWindow.outerheight="100"
myWindow.outerwidth="100"
myWindow.document.write("This is 'myWindow'")
myWindow.focus()
</script>
</body>
</html>
|
Try-It-Yourself Demos
Specify
the outer height and width of a window
Complete Window Object Reference
|