beautypg.com

Dom.canselecttable(), Dom.cansetlinkhref(), Dom.canshowlistpropertiesdialog() – Adobe Dreamweaver API Reference CS5 User Manual

Page 505

background image

500

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

dom.canSelectTable()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Select Table operation.

Arguments
None.

Returns
A Boolean value:

true

if the insertion point or selection is within a table;

false

otherwise.

dom.canSetLinkHref()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can change the link around the current selection or create one if necessary.

Arguments
None.

Returns
A Boolean value:

true

if the selection is an image, text, or if the insertion point is inside a link;

false

otherwise. A

text selection is defined as a selection for which the text Property inspector would appear.

dom.canShowListPropertiesDialog()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can show the List Properties dialog box.

Arguments
None.

Returns
A Boolean value:

true

if the selection is within an

LI

tag;

false

otherwise.