dreamweaver.canFitSize()

Availability

Dreamweaver CS5.5.

Description

Checks whether there is a selection in an active Design view. If there is a selection, fitAll() and fitWidth() can be called.

Arguments

None

Returns

A boolean value: true if there is an active Design view; false if otherwise.

dom.getViewSizeMenuItems()

Availability

Dreamweaver CS5.5.

Description

Returns a string array for the Design view or Live view size menu, which include preset user-defined sizes and Media Queries with sizing info.

Arguments

None.

Returns

A string array.

dom.isViewSizeMenuItemChecked()

Availability

Dreamweaver CS5.5.

Description

Used to select an option from the list of menu options obtained from dom.getViewSizeMenuItems().

Arguments

Zero based index for the menu option.

Returns

A boolean value: true, if the item is enabled.

dom.isViewSizeMenuItemEnabled()

Availability

Dreamweaver CS5.5.

Description

Used to enable or disable View size menu options obtained from dom.getViewSizeMenuItems().

Arguments

Zero based index for the menu option.

Returns

A Boolean value - true for enabled, false for disabled.

dom.isViewSizeMenuItemEnabled()

Availability

Dreamweaver CS5.5.

Description

Used to enable or disable View size menu options obtained from dom.getViewSizeMenuItems().

Arguments

Zero based index for the menu item.

Returns

A Boolean value - true for enabled, false for disabled.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy