HBCMS更多的中文手册参考:

designMode参数属性

DHTML文档教程

Sets or retrieves a value that indicates whether the document can be edited.

dhtml语法

document.designMode [ = sMode ]

DHTML可能的值

sModeString that specifies or receives one of the following values.
OnDocument can be edited.
Off | InheritDefault. Document cannot be edited.

The property is read/write. The property has a default value of Off | Inherit.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

you can use the designmode property to put microsoft® internet explorer into a mode where you can edit the current document.

while the browser is in design mode, objects enter a ui-activated state when the user presses enter or clicks an object that has focus, or when the user double-clicks the object. objects that are ui-activated have their own window within the document. you can modify the ui only when the object is in a ui-activated state.

you cannot execute script when the value of the designmode property is set to on.

是否符合公共标准

There is no public standard that applies to this property.

Applies To

document

更多语法参考

Introduction to MSHTML Editing