HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
clipboardData
The contents of the OS's clipboard
defaultStatus
The default message shown in the window's status bar
directories
A Boolean specifying whether the Netscape 6 “directories” button is visible.
document
The document displayed in the window
event
The event object (IE only)
frameElement
The Frame in which the window is enclosed
frames
An array of frames within the window (see the frames object for properties and
methods applied to individual frames)
history
A list of visited URLs
innerHeight
The height of the window's display area
innerWidth
The width of the widow's display area
length
The number of frames in the window
localStorage
The storage provider that provides client-side storage for name-value pairs
location
The URL loaded into the window
locationbar.visible
A Boolean indicating the visibility of the window's location bar
menubar.visible
A Boolean indicating the visibility of the window's menu bar
name
The name of the window
opener
The name of the window that opened the current window
outerHeight
The height of the outer area of the window
outerWidth
The width of the outer area of the window
pageXOffset
The x -coordinate of the window
pageYOffset
The y -coordinate of the window
parent
The name of the window containing this particular window
personalbar.visible
A Boolean indicating the visibility of the window's personal bar
screen
The browser's screen object
screenX
The x -coordinate in pixels of the left edge of the client area of the browser window
screenY
The y -coordinate in pixels of the top edge of the client area of the browser window
scrollbars.visible
A Boolean indicating the visibility of the window's scroll bars
scrollX
The distance the window is scrolled to the right
scrollY
The distance the window is scrolled down
self
The current window
sessionStorage
The storage provider that provides client-side storage for name-value pairs within
the current session
status
The message shown in the window's status bar
statusbar.visible
A Boolean indicating the visibility of the window's status bar
toolbar.visible
A Boolean indicating the visibility of the window's toolbar
top
The name of the topmost window in a hierarchy of windows
window
The current window
Methods
alert( message )
Displays the text contained in message in a dialog box
back()
Loads the previous page in the window
blur()
Removes the focus from the window
captureEvents()
Sets the window to capture all events of a specified type
clearInterval( id )
Clears the interval for id , set with the setInterval method
Search WWH ::




Custom Search