不過在MSDN中,M$對於HTML Elements和DHTML Objects分別都全部列了出來,這樣讓我們看起來非常的鬱悶,DHTML Objects列表中由於混雜了HTML Elements,看起來非常的混亂。下面的我列出了DHTML中唯一屬於D的部分,這樣來看DHTML Objects就清晰明瞭多了。
Represents an attribute or property of an HTML element as an object.
clientInformation
Contains information about the browser.
clipboardData
Provides access to predefined clipboard formats for use in editing operations.
currentStyle!
Represents the cascaded format and style of the object as specified by global style sheets, inline styles, and HTML attributes.
dataTransfer
Provides access to predefined clipboard formats for use in drag-and-drop operations.
defaults
Programmatically sets default properties on an element behavior.
Dialog Helper
Provides access the color dialog box, as well as the block format and fonts collections.
document!
Represents the HTML document in a given browser window.
event!
Represents the state of an event, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons.
external!
Allows access to an additional object model provided by host applications of the Microsoft Internet Explorer browser components.
history!
Contains information about the URLs visited by the client.
HTML Comment
Prevents any enclosed text or HTML source code from being parsed and displayed in the browser window.
implementation
Contains information about the modules supported by the object.
IMPORT
Imports a tag definition from an element behavior.
location!
Contains information about the current URL.
namespace
Dynamically imports an element behavior into a document.
navigator
Contains information about the browser.
nextID
Creates unique identifiers that text editing software can read.
page
Represents an @page rule within a styleSheet.
popup!
A special type of overlapped window typically used for dialog boxes, message boxes, and other temporary windows that appear separate from an application's main window.
rule
Represents a style within a Cascading Style Sheets (CSS) that consists of a selector and one or more declarations.
runtimeStyle!
Represents the cascaded format and style of the object that overrides the format and style specified in global style sheets, inline styles, and HTML attributes.
screen!
Contains information about the client's screen and rendering capabilities.
selection
Represents the active selection, which is a highlighted block of text, and/or other elements in the document on which a user or a script can carry out some action.
style!
Represents the current settings of all possible inline styles for a given element.
styleSheet!
Represents a single style sheet in the document.
TextNode!
Represents a string of text as a node in the document hierarchy.
TextRange!
Represents text in an HTML element.
TextRectangle
Specifies a rectangle that contains a line of text in either an element or a TextRange object.
userProfile
Provides methods that allow a script to request read access to and perform read actions on a user's profile information.
window!
Represents an open window in the browser.
注:後面跟有!的是我們比較常見和常用的DHTML Object。