beautypg.com

Dom.exitblock(), Dom.getcharset(), Dom.getfontmarkup() – Adobe Dreamweaver API Reference CS5 User Manual

Page 457

background image

452

DREAMWEAVER API REFERENCE

Code

Last updated 8/27/2013

dom.exitBlock()

Availability
Dreamweaver 3.

Description
Exits the current paragraph or heading block, leaving the insertion point outside all block elements.

Arguments
None.

Returns
Nothing.

dom.getCharSet()

Availability
Dreamweaver 4.

Description
Returns the

charset

attribute in the meta tag of the document.

Arguments
None.

Returns
The encoding identity of the document. For example, for a Latin1 document, the function returns

iso-8859-1

.

dom.getFontMarkup()

Availability
Dreamweaver 3.

Description
Gets the value of the specified attribute of the

FONT

tag for the current selection.

Arguments
attribute

The attribute argument must be

"face"

,

"size"

, or

"color"

.

Returns
A string that contains the value of the specified attribute or an empty string if the attribute is not set.