Specifications

468
dom.getFontMarkup()
Availability
Dreamweaver 3
Description
Gets the value of the specified attribute of the FONT tag for the current selection.
Arguments
attribute
attribute
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.
dom.getLinkHref()
Availability
Dreamweaver 3
Description
Gets the link that surrounds the current selection. This function is equivalent to looping through
the parents and grandparents of the current node until a link is found and then calling
getAttribute(’HREF’) on the link.
Arguments
None.
Returns
A string that contains the name of the linked file, which is expressed as a file:// URL.
dom.getLinkTarget()
Availability
Dreamweaver 3
Description
Gets the target of the link that surrounds the current selection. This function is equivalent to
looping through the parents and grandparents of the current node until a link is found, and then
calling
getAttribute(’TARGET’) on the link.
Arguments
None.
Returns
A string that contains the value of the TARGET attribute for the link or an empty string if no target
is specified.
dom.getListTag()
Availability
Dreamweaver 3