Adobe Extending Dreamweaver CS4 User Manual
Page 103
97
EXTENDING DREAMWEAVER CS4
The Dreamweaver Document Object Model
Object
Properties
Methods
Events
window
navigator
•
document
•
innerWidth •
innerHeight
•
screenX
•
screenY
•
alert()
confirm()
escape()
unescape()
close()
setTimeout()
clearTimeout()
setInterval()
clearInterval()
resizeTo()
onResize
navigator
platform
•
None
None
document
forms
• (an array of form
objects)
images
• (an array of image
objects)
layers •
(an array of
LAYER
,
ILAYER
, and
absolutely positioned
elements)
child
objects
by name
•
nodeType
•
parentNode
•
childNodes
•
previousSibling
•
nextSibling
•
documentElement
•
body
•
URL
•
parentWindow
•
getElementsByTagName()
getElementsByAttributeName()
getElementById()
hasChildNodes()
onLoad
all tags/
elements
nodeType
•
parentNode •
childNodes
•
tagName
•
previousSibling
•
nextSibling
•
attributes by name
innerHTML
outerHTML
getAttribute()
setAttribute()
removeAttribute()
getElementsByTagName()
getElementsByAttributeName()
hasChildNodes()