General editing functions
399
Returns
Nothing.
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
linkHREF
argument is the URL (document-relative path, root-relative path, or absolute
URL) comprising the link. If this argument is omitted, the Select HTML File dialog
box appears.
Returns
Nothing.
Enabler
“dom.canSetLinkHref()” on page 439
.
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')
function on the link.
Arguments
{linkTarget}
•
The
linkTarget
argument, which is optional, is a string that represents a frame name,
window name, or one of the reserved targets (
"_self"
,
"_parent"
,
"_top"
, or
"_blank"
). If
the argument is omitted, the Set Target dialog box appears.
Returns
Nothing.
000_DW_API_Print.book Page 399 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...