window

The window object is used to operate the sub-windows generated with the open() method. There are many properties and methods which can be used to perform various operations on the window you are working with. The window object is used to represent the window or frame in which you are working, or where you want your output to go. It is used in scripts to reference document objects which reside in other windows or frames. Do not cunfuse the window.open() method with the showModalDialog() method, which has almost but not all of the functionality of the window object. showModalDialog() is available only in the internet Explorer browser. DOM Reference Internet Explorer window
self
top
parent
Netscape Navigator window
self
top
parent
The properties of the window object are: clientInformation
closed
defaultStatus
dialogArguments
dialogHeight
dialogLeft
dialogTop
dialogWidth
document
event
history
innerHeight
innerWidth
length
location
locationBar
menuBar
name navigator
offscreenBuffering
opener
outerHeight
outerWidth
pageXOffset
pageYOffset
parent
personalBar
returnValue
screen
scrollBars
self
status
statusBar
toolBar
top
The Methods of the window object are: alert()
back()
blur()
captureEvents()
clearInterval()
clearTimeout()
close()
confirm()
disableExternalCapture()
enableExternalCapture()
execScript()
find()
focus()
forward()
handleEvent()
home()
moveBy() moveTo()
navigate()
open()
print()
prompt()
releaseEvents()
resizeBy()
resizeTo()
routeEvent()
scroll()
scrollBy()
scrollTo()
setInterval()
setTimeout()
showHelp()
showModalDialog()
stop()
The Collections and Arrays for the window object are:
frames[ ]
The Event Handlers for the window object are:
onBeforeUnload
onBlur
onDragDrop
onError
onFocus
onHelp
onLoad
onMove
onResize
onScroll
onUnload