
355
DREAMWEAVER API REFERENCE
Dynamic documents
Last updated 8/27/2013
Arguments
None.
Returns
Nothing.
Live view functions
Live view functions are used for the following purposes:
• Getting and setting the Design view mode
• Getting and setting the Live view mode using the server
• Getting Live view defaults
• Getting and setting Live view dependents
• Viewing the Live view parameters
dom.getDesignViewMode()
Availability
Dreamweaver CS4.
Description
This function gets the view or mode of the Design view. The Design view can be in Classic Editable Design view or Live view.
Arguments
None.
Returns
A string value. Returns live if the mode of the Design view is Live view. Returns editable if the mode of the Design
view is Classic Editable Design view.
dom.setDesignViewMode()
Availability
Dreamweaver CS4.
Description
This function turns on the mode of the Design view. For example, the function turns on Live view.
Arguments
mode
• The mode argument is a string that takes the value live or editable.
Komentáře k této Příručce