beautypg.com

The insert bar definition file, The insertbar.xml tag hierarchy, Insert bar definition tags – Adobe Extending Dreamweaver CS4 User Manual

Page 111

background image

105

EXTENDING DREAMWEAVER CS4

Insert bar objects

2

If Dreamweaver displays a dialog box in step 1, the user enters parameters for the object (such as the number of
rows and columns in a table) in the dialog box text fields and clicks OK.

3

Dreamweaver calls the

objectTag()

function and inserts its return value in the document after the current

selection. (It does not replace the current selection.)

4

If Dreamweaver does not find the

objectTag()

function, it looks for an

insertObject()

function and calls

that function instead.

The Insert bar definition file

The Configuration/Objects/insertbar.xml file defines the Insert bar properties. This XML file contains definitions for
each individual object, in the order in which the objects appear.

The first time a user starts Dreamweaver, the Insert bar appears horizontally above the document. After that, its
visibility and position are saved in the registry.

The Insertbar.xml tag hierarchy

The following example shows the format and hierarchy of nested tags in the insertbar.xml file:


This manual is related to the following products: