else if (style == "Heading 6")
bChecked =
(textFormat == "h6");
else
bChecked = (dw.cssStylePalette.getSelectedStyle() == style);
return bChecked;
}
isDOMRequired()
Availability
Dreamweaver MX.
Description
Specifies whether the toolbar command requires a valid DOM to operate. If this function
returns a
value or if the function is not defined, Dreamweaver assumes that the
true
command requires a valid DOM and synchronizes the Code view and Design view for the
document before executing the associated command. This function is equivalent to the
attribute in a toolbar item tag.
domRequired
Arguments
None.
Returns
Dreamweaver expects a Boolean value:
Example
function isDOMRequired()
{
return false;
}
receiveArguments()
Availability
Dreamweaver MX.
Description
Processes any arguments that pass from a toolbar item. The
equivalent to the
command
if the DOM is required;
true
attribute in a toolbar item tag.
otherwise.
false
receiveArguments()
The toolbar command API
function is
245
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?