O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

window — NN 2 IE 3 DOM n/a

Synopsis

The window object represents the browser window or frame in which document content is displayed. The window object plays a vital role in scripting when scripts must communicate with document objects located in other frames or subwindows. Internet Explorer 4 includes a special kind of subwindow called a modal dialog window. Modal dialog windows have most, but not all, window object properties and methods available to them.

Object Model Reference

NN

window

self

top

parent

IE

window

self

top

parent

Properties

clientInformation

event

navigator

returnValue

 

closed

history

offscreenBuffering

screen

 

defaultStatus

innerHeight

opener

scrollbars

 

dialogArguments

innerWidth

outerHeight

self

 

dialogHeight

length

outerWidth

status

 

dialogLeft

location

pageXOffset

statusbar

 

dialogTop

locationbar

pageYOffset

toolbar

 

dialogWidth

menubar

parent

top

 

document

name

personalbar

  

Methods

alert( )

focus( )

resizeBy( )

back( )

forward( )

resizeTo( )

blur( )

handleEvent( )

routeEvent( )

captureEvents( )

home( )

scroll( )

clearInterval( )

moveBy( )

scrollBy( )

clearTimeout( )

moveTo( )

scrollTo( )

close( )

navigate( )

setInterval( )

confirm( )

open( )

setTimeout( )

disableExternalCapture( )

print( )

showHelp( )

enableExternalCapture( )

prompt( )

showModalDialog( ) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required