Chapter 7. Commands

 < Day Day Up > 

Macromedia Dreamweaver 8 commands can perform almost any kind of edit to a user's current document, other open documents, or any HTML document on a local drive. Commands can insert, remove, or rearrange HTML tags and attributes, comments, and text.

Commands are HTML files. The BODY section of a command file can contain an HTML form that accepts options for the command (for example, how a table should be sorted and by which column). The HEAD section of a command file contains JavaScript functions that process form input from the BODY section and control what edits are made to the user's document.

The following table lists the files you use to create a command:

Path

File

Description

Configuration/Commands/

commandname.htm

Specifies the user interface.

Configuration/Commands/

commandname.js

Contains the functions to execute.


     < 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