Chapter 6. Insert Bar Objects

 < Day Day Up > 

In Macromedia Dreamweaver, objects insert specific strings of code into a user's document. Objects commonly reside on the Insert bar, on the Insert menu, or both. Objects let users add content, such as images, layers, and tables, by clicking icons or menu options. You can add items to the Insert bar to automate repetitive tasks for your users or even create dialog boxes for users to set specific attributes.

Objects reside in the Configuration/Objects folder inside the Dreamweaver application folder. The Objects subfolders are grouped according to their location on the Insert bar, and you can open these files to see the construction of current objects. For example, you can open the Configuration/Objects/Common/Hyperlink.htm file to see the code that corresponds to the hypertext link object button on the Insert bar.

The following table lists the files you use to create an object:

Path

File

Description

Configuration/Objects/objecttype/

objectname.htm

Specifies what to insert in the document.

Configuration/Objects/objecttype/

objectname.js

Contains the functions to execute.

Configuration/Objects/objecttype/

objectname.gif

Contains the image that appears on the Insert bar.

Configuration/Objects

insertbar.xml

Specifies the objects that appear, and their order, on the Insert bar.


     < Day Day Up > 


    Developing Extensions for Macromedia Dreamweaver 8
    Developing Extensions for Macromedia Dreamweaver 8
    ISBN: 0321395409
    EAN: 2147483647
    Year: 2005
    Pages: 282

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net