Building an insert bar pop-up menu – Adobe Extending Dreamweaver CS4 User Manual
Page 123
117
EXTENDING DREAMWEAVER CS4
Insert bar objects
2
Save the file as Strikethrough.htm.
3
Reload the extensions (see “
Test the dialog box
1
Select the Red Text check box.
2
Click OK to perform the
objectTag()
function, which adds the strike-through:
Building an Insert bar pop-up menu
The Dreamweaver Insert bar introduces a new organization for objects. The Insert bar now supports pop-up menus
to help organize objects into smaller groups, as shown in the following figure.
The following example builds a new category on the Insert bar called Editorial and then adds a pop-up menu to that
category. The pop-up menu contains the Strikethrough object you already created and groups it with a Blue Text object
you create. The objects in the Editorial category let users:
•
Make editorial comments in a file