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

Chapter 10. Moving on Down the Road: Int... > Free Scripts, Get Your Free Scripts ...

Free Scripts, Get Your Free Scripts Right Here!

Pssssttt! Want a great collection of JavaScript functions and utilities guaranteed to ramp up your extensibility productivity? I can let you have it for a song...and that song is “Dreamweaver,” of course. Included with every installation of Dreamweaver are a terrific number of JavaScript files containing a key functionality for almost every operation an extension developer needs. Why is it so extensive? Simple—because these scripts are the same ones used by the Macromedia engineers to give Dreamweaver its power. You’ll find the scripts in the Dreamweaver MX 2004\Configuration\Shared folder in a couple of places. The older but still useful scripts are found in the Shared\MM\Scripts folder; the newer ones are in the Shared\Common\Scripts folder. There are too many scripts and functions to describe here, but one of my favorites is enableControl.js, found in the Shared\MM\Scripts\CMN folder. In Dreamweaver, this function is used by the Master Detail Page Set application object, among others. After you include this file, you’re programmatically able to enable or disable a dialog’s form controls by calling a single function. It’s the essence of schweet.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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