• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Creating a Command

Let’s look at how to create a simple command that you can call either from a menu or a toolbar. We’ll create a simple text-editing function that makes whatever text is selected lowercase.

This command is a slightly modified version of the one found in the Extending Dreamweaver Help file. It’s an HTML file comprising two parts: a <head>, where we’ll put the JavaScript functions that do the actual work for the command, and a <body>, where we would put a dialog box if the command needed one, which it doesn’t.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint