HTML Elements 和 DHTML Objects
在查看MSDN时,我们会发现有的特性描述是针对HTML Elements的,而有的描述却是针对DHTML Objects的。虽然地球人都知道DHTML是指的Dynamicl HTML,那么它和HTML元素是什么关系呢?其实HTML是DHTML的一个完全的子集,任何的HTML元素也就是DHTML中的对象。
不过在MSDN中,M$对于HTML Elements和DHTML Objects分别都全部列了出来,这样让我们看起来非常的郁闷,DHTML Objects列表中由于混杂了HTML Elements,看起来非常的混乱。下面的我列出了DHTML中唯一属于D的部分,这样来看DHTML Objects就清晰明了多了。
注:后面跟有!的是我们比较常见和常用的DHTML Object。
不过在MSDN中,M$对于HTML Elements和DHTML Objects分别都全部列了出来,这样让我们看起来非常的郁闷,DHTML Objects列表中由于混杂了HTML Elements,看起来非常的混乱。下面的我列出了DHTML中唯一属于D的部分,这样来看DHTML Objects就清晰明了多了。
attribute
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.
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。
posted on 2005-05-27 09:43 birdshome 阅读(2495) 评论(0) 编辑 收藏 举报