Tag Editor And Tag Library Functions - MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

Tag editor and tag library functions

You can use tag editors to insert new tags, edit existing tags, and access reference information
about tags. The Tag Chooser lets users organize their tags so that they can easily select
frequently used tags. The tag libraries that come with Dreamweaver store information about
tags that are used in standards-based markup languages and most widely used tag-based
scripting languages. You can use the JavaScript tag editor, Tag Chooser, and tag library
functions when you need to access and work with tag editors and tag libraries in your
extensions.
dom.getTagSelectorTag()
Availability
Dreamweaver MX.
Description
This function gets the DOM node for the tag that is currently selected in the Tag Selector bar
at the bottom of the document window.
Arguments
None.
Returns
The DOM node for the currently selected tag;
dreamweaver.popupInsertTagDialog()
Availability
Dreamweaver MX.
Description
This function checks the VTM files to see if a tag editor has been defined for the tag. If so, the
editor for that tag pops up and accepts the start tag. If not, the start tag is inserted unmodified
into the user's document.
Arguments
A start tag string that includes one of the following types of initial values:
A tag, such as
<input>
A tag with attributes, such as
544
Code
if no tag is selected.
null
<input type='text'>

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?

This manual is also suitable for:

Dreamweaver 8

Table of Contents