Adobe 38040334 - Dreamweaver CS3 User Manual page 119

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

Advertisement

Click OK to perform the
2
Building an Insert bar pop-up menu
The Dreamweaver Insert bar introduces a new organization for objects and 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 will create. The objects in the Editorial category let users make editorial comments in a file and either
strike through the content they want to remove or make new content blue.
To organize the files:
Create a new Configuration/Objects/Editorial folder in your Dreamweaver installation folder.
1
2
Copy the files for the Strikethrough object example you created (Strikethrough.htm, Strikethrough.js, and
Strikethrough.gif) to the Editorial folder.
To create the Blue Text object:
Create a new HTML file.
1
Add the following code:
2
<html>
<head>
<title>Blue Text</title>
<script language="javascript">
function, which adds the strike-through:
objectTag()
DREAMWEAVER CS3
113
Extending Dreamweaver

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents