Macromedia dreamweaver 8-extending dreamweaver 사용자 설명서
Modifying the Insert bar
149
To change the order of categories in the Insert bar:
1.
Save a backup copy of insertbar.xml (with a name such as insertbar.backup.xml).
2.
Open the original insertbar.xml file.
3.
Find the
category
tag that corresponds to the category you want to move, and select that
tag, including all the tags it contains.
4.
Cut that tag.
5.
Paste the tag into its new location. Be sure to paste the tag in a location that isn’t inside any
other
other
category
tag.
6.
Save the insertbar.xml file.
7.
Reload extensions.
To create a new category:
1.
Save a backup copy of insertbar.xml (with a name such as “insertbar.backup.xml”).
2.
Open the original insertbar.xml file.
3.
Create a new category tag, specifying the default folder for the category and a set of objects
to appear in the category.
to appear in the category.
4.
For information on the syntax of the tags in insertbar.xml, see
5.
Save the insertbar.xml file.
6.
Reload extensions.
Adding objects to the Insert bar
You can add objects to the Insert bar. To make the changes appear in the Insert bar, you must
either restart Dreamweaver or reload extensions. For information on reloading extensions, see
either restart Dreamweaver or reload extensions. For information on reloading extensions, see
To add a new object to the Insert bar, do the following:
1.
Define the specific string of code for the user’s document by using HTML and, optionally,
JavaScript.
JavaScript.
2.
Identify or create an image (18 x 18 pixels) for the button in the Dreamweaver interface.
If you create a larger image, Dreamweaver scales it to 18 x 18 pixels. If you do not create
an image for your object, a default object icon with a question mark (?) appears on the
Insert bar.
an image for your object, a default object icon with a question mark (?) appears on the
Insert bar.
3.
Add the new files to the Configuration/Objects folder.