DREAMWEAVER CS3
400
API Reference
Returns
An integer that represents the line number in the document.
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 the
on the link.
getAttribute('HREF')
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 the
getAttribute('TARGET')
function on the link.
Arguments
None.
Returns
A string that contains the value of the
attribute for the link or an empty string if no target is specified.
TARGET
dom.getListTag()
Availability
Dreamweaver 3.
Description
Gets the style of the selected list.
Arguments
None.
Returns
A string that contains the tag that is associated with the list (
,
, or
) or an empty string if no tag is
"ul"
"ol"
"dl"
associated with the list. This value always returns in lowercase letters.