![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Скачать руководство пользователя страница 427](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554427.webp)
Tag editor and tag library functions
427
dreamweaver.tagLibrary.getTagLibraryDOM()
Availability
Dreamweaver MX.
Description
Given the URL of a
filename.
vtm
file, this function returns the DOM for that file, so that its
contents can be edited.
This function should be called only when the Tag Library editor is active.
Arguments
fileURL
•
The
fileURL
argument is the URL of a
filename.
vtm
file, relative to the Configuration/Tag
Libraries folder, as shown in the following example:
"HTML/img.vtm"
Returns
A DOM pointer to a new or previously existing file within the TagLibraries folder.
dreamweaver.tagLibrary.getSelectedLibrary()
Availability
Dreamweaver MX.
Description
If a library node is selected in the Tag Library editor, this function gets the library name.
Arguments
None.
Returns
A string, the name of the library that is currently selected in the Tag Library editor; returns an
empty string if no library is selected.
dreamweaver.tagLibrary.getSelectedTag()
Availability
Dreamweaver MX.
Description
If an attribute node is currently selected, this function gets the name of the tag that contains the
attribute.
Arguments
None.
Returns
A string, name of the tag that is currently selected in the Tag Library editor; returns an empty
string if no tag is selected.
000_DW_API_Print.book Page 427 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...