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
function on the link.
getAttribute('TARGET')
Arguments
None.
Returns
A string that contains the value of the
attribute for the link or an empty string if no
TARGET
target is specified.
504
Code
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?
Questions and answers