MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 513

Dreamweaver api reference
Table of Contents

Advertisement

dom.setLinkHref()
Availability
Dreamweaver 3.
Description
Makes the selection a hypertext link or changes the URL value of the HREF tag that encloses
the current selection.
Arguments
linkHREF
The
argument is the URL (document-relative path, root-relative path, or
linkHREF
absolute URL) comprising the link. If this argument is omitted, the Select HTML File
dialog box appears.
Returns
Nothing.
Enabler
See
"dom.canSetLinkHref()" on page
dom.setLinkTarget()
Availability
Dreamweaver 3.
Description
Sets 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
setAttribute('TARGET')
Arguments
{linkTarget}
The
linkTarget
window name, or one of the reserved targets (
). If the argument is omitted, the Set Target dialog box appears.
"_blank"
Returns
Nothing.
561.
argument, which is optional, is a string that represents a frame name,
function on the link.
,
"_self"
"_parent"
,
, or
"_top"
General editing functions
513

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Dreamweaver 8

Table of Contents