Window
Event Attributes
Events triggered for the window
object.
Applies to the <body> tag:
|
Attribute
|
Value
|
Description
|
|
onafterprintNew
|
script
|
Script to be run after the
document is printed
|
|
onbeforeprintNew
|
script
|
Script to be run before the
document is printed
|
|
onbeforeonloadNew
|
script
|
Script to be run before the
document loads
|
|
onblur
|
script
|
Script to be run when the window
loses focus
|
|
onerrorNew
|
script
|
Script to be run when an error
occur
|
|
onfocus
|
script
|
Script to be run when the window
gets focus
|
|
onhaschangeNew
|
script
|
Script to be run when the document
has change
|
|
onload
|
script
|
Script to be run when the document
loads
|
|
onmessageNew
|
script
|
Script to be run when the message
is triggered
|
|
onofflineNew
|
script
|
Script to be run when the document
goes offline
|
|
ononlineNew
|
script
|
Script to be run when the document
comes online
|
|
onpagehideNew
|
script
|
Script to be run when the window
is hidden
|
|
onpageshowNew
|
script
|
Script to be run when the window
becomes visible
|
|
onpopstateNew
|
script
|
Script to be run when the window's
history changes
|
|
onredoNew
|
script
|
Script to be run when the document
performs a redo
|
|
onresizeNew
|
script
|
Script to be run when the window
is resized
|
|
onstorageNew
|
script
|
Script to be run when a document
loads
|
|
onundoNew
|
script
|
Script to be run when a document
performs an undo
|
|
onunloadNew
|
script
|
Script to be run when the user
leaves the document
|
No comments:
Post a Comment