Adobe 38040334 - Dreamweaver CS3 User Manual page 121

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

The
tag defines the beginning of all the Insert bar contents.
insertbar
2
After that line, add a new
and folder attributes, and then add a closing
_
<category id="DW
Insertbar
</category>
Reload extensions. For information on reloading extensions, see "Reloading extensions" on page 74.
3
The Editorial category appears on the Insert bar:
Within the opening and closing
4
following attributes, including a unique ID.
_
<menubutton id="DW
Insertbar
folder="Editorial">
For more information about attributes, see "Insert bar definition tag attributes" on page 103.
5
Add the objects for the new pop-up menu using the
_
<button id="DW
Editorial
file="Editorial\Strikethrough.htm"/>
After the Strikethrough object button tag, add the hypertext object, as follows:
6
_
_
<button id="DW
Blue
Text" image="Editorial\AddBlue.gif name="Blue Text"
file="Editorial\AddBlue.htm"/>
Note: The button tag does not have a separate closing tag; it simply ends with
End the pop-up menu with the
7
The following code shows your entire category with the pop-up menu and the two objects:
_
<category id="DW
Insertbar
<menubutton id="DW
image="Editorial\Strikethrough.gif" folder="Editorial">
<button id="DW
image="Editorial\Strikethrough.gif" file="Editorial\Strikethrough.htm"/>
<button id="DW
file="Editorial\AddBlue.htm"/>
</menubutton>
</category>
tag for the Editorial category you want to create, giving it unique ID, name,
category
category
_
Editorial" name="Editorial" folder="Editorial">
tags, add the pop-up menu by using the
category
_
Markup" name="markup" image="Editorial\Strikethrough.gif"
_
Strikethrough" image="Editorial\Strikethrough.gif"
closing tag.
</menubutton>
_
Editorial" name="Editorial" folder="Editorial">
_
_
Insertbar
Markup" name="markup"
_
_
Editorial
Strikethrough"
_
_
Blue
Text" image="Editorial\AddBlue.gif" name="Blue Text"
tag, as shown in the following example:
tag, as follows:
button
.
"/>"
DREAMWEAVER CS3
Extending Dreamweaver
tag and the
menubutton
115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents