MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Manual page 134

Extending dreamweaver
Hide thumbs Also See for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER:
Table of Contents

Advertisement

Next, within the opening and closing
tag and the following attributes, including a unique ID (for more information about
menubutton
attributes, see
"Insert bar definition tag attributes" on page
<menubutton id="DW_Insertbar_Markup" name="markup"
image="Editorial\Strikethrough.gif" folder="Editorial">
Finally, add the objects for the new pop-up menu using the
object, enter the following code:
<button id="DW_Editorial_Strikethrough" image="Editorial\Strikethrough.gif"
file="Editorial\Strikethrough.htm"/>
and, after the Strikethrough object button tag, add the hypertext object:
<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 "/>".
Now you can end the pop-up menu with the
shows your entire category with the pop-up menu and the two objects:
<category id="DW_Insertbar_Editorial" name="Editorial" folder="Editorial">
<menubutton id="DW_Insertbar_Markup" name="markup"
image="Editorial\Strikethrough.gif" folder="Editorial">
<button id="DW_Editorial_Strikethrough"
image="Editorial\Strikethrough.gif" file="Editorial\Strikethrough.htm"/>
<button id="DW_Blue_Text" image="Editorial\AddBlue.gif" name="Blue Text"
file="Editorial\AddBlue.htm"/>
</menubutton>
</category>
To test the new pop-up menu, Reload Extensions. The following pop-up menu appears:
134
Chapter 6: Insert Bar Objects
tags, add the pop-up menu using the
category
117):
button
</menubutton>
tag. To add the Strikethrough
closing tag. The following code

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents