Cover image for Dreamweaver MX extensions
Title:
Dreamweaver MX extensions
Author:
Gutman, Laura.
Personal Author:
Edition:
First edition.
Publication Information:
Indianapolis, Ind. : New Riders, [2002]

©2002
Physical Description:
xxiv, 523 pages : illustrations ; 24 cm
General Note:
Includes index.
Language:
English
ISBN:
9780735711822
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Item Holds
Searching...
QA76.625 .G88 2002 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

With more than 50,000 private foundations in the US and the increasing scrutiny of the IRS, this annually updated manual provides a wide range of tax rules and regulations for these foundations. The revised second edition includes practical tax compliance suggestions and in-depth legal explanations, line-by-line instructions, sample-filled IRS forms and complete citations.


Author Notes

Laura Gutman is a web/multimedia developer with more than 15 years of experience in programming, graphic design, and interface development. She currently designs and programs online applications and training materials for various corporate and government agencies, using a combination of HTML, server-side scripting, Flash, and Director. Laura is also a Senior Instructor at the University of New Mexico's Professional Development Program, where she teaches and develops curricula for the Graphic Design and Multimedia Certificate Program. Laura has worked with Dreamweaver since its inception, and has been extending it for several years for her own work needs and for clients.


Table of Contents

Part I Objects and Behaviors: Learning the API
1 Dreamweaver Configuration and the APIp. 3
How Dreamweaver Is Configuredp. 4
The Configuration Folderp. 4
The Structure of Configuration Filesp. 5
Multiple Configuration Foldersp. 6
The Dreamweaver APIp. 8
Parts of the APIp. 8
Working with the APIp. 10
Ready, Set, Go!p. 10
2 Creating Custom Objectsp. 11
How Objects Are Constructedp. 12
Object Files in the Configuration Folderp. 12
Objects in the Insert bar (insertbar.xml)p. 14
Objects in the Insert Menup. 14
Structure of an Object Filep. 14
The API Procedure for Objectsp. 19
Making Objects: Practice Sessionp. 20
Workshop #1 Creating a Simple Objectp. 27
Sample Object: Inserting a Single-Celled Centering Tablep. 27
Creating the Table Objectp. 27
Workshop #2 Creating a Simple Object with User Inputp. 32
Sample Object: Inserting a Netscape Spacer Tagp. 32
Creating the Spacer Objectp. 33
Workshop #3 Creating a More Complex Objectp. 39
Sample Object: Inserting a Custom Horizontal Rulep. 39
Creating the Custom HR Objectp. 39
Summaryp. 53
3 Creating Custom Behaviorsp. 55
How Behaviors Are Constructedp. 56
Behaviors in the Configuration Folderp. 57
Behavior Filesp. 57
Structure of a Behavior Filep. 58
API Procedure for Behaviorsp. 60
API Procedure for Inspecting Behaviorsp. 61
Making Behaviors: Practice Sessionp. 62
Workshop #1 Creating a Simple Behaviorp. 67
Sample Behavior: Adding "Back" and "Forward" Controls to a Documentp. 68
Creating the Back/Forward Behaviorp. 68
Workshop #2 Creating a Full-Featured Behaviorp. 75
Sample Behavior: Set Page Propertiesp. 75
Creating the Set Page Properties Behaviorp. 75
Inspecting Behaviorsp. 90
The inspectBehavior() Function and How it Worksp. 90
Inspecting Behaviors: Practice Sessionp. 90
Using the Shared Files to Help Inspect Behaviorsp. 94
Workshop #3 Inspecting the Set Properties Behaviorp. 96
Summaryp. 98
Part II Commands, Inspectors, Floating Panels: Working with the DOM
4 The Dreamweaver DOMp. 101
What Is a DOM?p. 101
The DOM in JavaScriptp. 101
The Dreamweaver DOMp. 103
DOM Basicsp. 107
Document (DOCUMENT_NODE)p. 107
HTML Elements (ELEMENT_NODE)p. 108
HTML Comments (COMMENT_NODE)p. 110
Text Objects (TEXT_NODE)p. 110
Nodes and Document Structurep. 111
Extensibility and the DOMp. 112
DOM Objectp. 112
Enhancing Objects and Behaviors Using the DOMp. 122
Working with the DOM: Practice Sessionp. 123
Summaryp. 134
5 Creating Custom Commands and Menu Commandsp. 135
How Commands Are Constructedp. 137
Commands in the Configuration Folderp. 137
Structure of a Command Filep. 137
API Procedure for Commandsp. 140
Workshop #1 A Command That Uses Object Accessp. 141
Sample Command: Automatically Adding the alt Parameter to All Images in a Documentp. 142
Wrapping Up the Automatic Alt Commandp. 167
Workshop #2 A Command That Uses String Accessp. 167
Sample Command: Converting Selected Text to Uppercasep. 168
Commands and Menusp. 180
Working with menus.xmlp. 180
Controlling a Command's Appearance in the Menusp. 187
Passing Parameters to Commands Using receiveArguments()p. 187
Workshop #3 Manipulating the Menu Entry for a Commandp. 189
Menu Commandsp. 193
Menu Commands in the Configuration Folderp. 193
Structure of a Menu Command Filep. 194
The API Procedure for Menu Commandsp. 198
Making Menu Commands: Practice Sessionp. 200
Workshop #4 Creating a Menu Commandp. 214
Sample File: Creating a Menu Command that Displays the Images in a Documentp. 214
Summaryp. 228
6 Creating Custom Property Inspectorsp. 229
How Property Inspectors Are Constructedp. 230
Property Inspectors in the Configuration Folderp. 230
Property Inspector Filesp. 231
The Structure of an Inspector Filep. 232
The API Procedure for Property Inspectorsp. 236
Making Inspectors: Practice Sessionp. 238
Workshop #1 A Simple Property Inspectorp. 248
Sample Inspector: Netscape Block Spacerp. 248
Workshop #2 Replacing a Default Inspectorp. 255
Sample Project: Custom Horizontal Rulep. 256
Summaryp. 272
7 Creating Custom Floating Panelsp. 273
How Floating Panels Are Constructedp. 274
Floating Panels in the Configuration Folderp. 275
Floating Panel Filesp. 275
The Structure of a Floating Panel Filep. 276
API Procedure for Floating Panelsp. 279
Making Floating Panels: Practice Sessionp. 280
Workshop 1 A Floating Panel Utilityp. 295
Sample Floater: Table Helperp. 296
Challenge!p. 308
Summaryp. 309
8 Mixing Extension Typesp. 311
Why Mix Extension Types?p. 312
Rollovers, Jump Menus, and Navigation Bars, Oh My!p. 312
Coloring Outside the Linesp. 312
API Functions for Mixing Extension Typesp. 313
Running Commandsp. 313
Inserting Objectsp. 314
Inserting Behaviorsp. 315
Accessing Inspectors and Floatersp. 318
Mixing Extension Types: Practice Sessionp. 319
Summaryp. 331
9 Server Behaviorsp. 333
Server Behavior APIp. 334
Server Behavior Builderp. 334
Some Basic Server Behavior Conceptsp. 335
Building Server Behaviors: Practice Sessionp. 336
Beyond the SBB: How Server Behaviors Are Constructedp. 341
Workshop #1 Inserting Conditional Page Content with an If-Then Statementp. 348
Workshop #2 Inserting Dynamically Determined Imagesp. 356
Summaryp. 361
10 Into the Great Beyondp. 363
The Nature of Class Filesp. 364
ListControl Itemsp. 364
Specificationsp. 365
ListControl Practicep. 369
ImageButtonsp. 380
Specificationsp. 381
ImageButton Practicep. 383
Layered Interfacesp. 388
Specificationsp. 390
Layered Interface Practicep. 399
Other Custom Classesp. 406
Summaryp. 409
Part III Appendixes
A JavaScript Primerp. 413
How JavaScript and HTML Work Togetherp. 414
Practice Session #1p. 414
Variables and Expressionsp. 416
Practice Session #2p. 417
Functionsp. 418
Functions and Function Callsp. 418
Function Parametersp. 419
Practice Session #3p. 420
Logical Structures (Conditionals and Loops)p. 423
Conditional Statementsp. 423
Practice Session #4p. 424
For-Loops and Arraysp. 425
Practice Session #5p. 426
Working with Form Elementsp. 428
Formp. 428
Text Fieldsp. 429
Checkboxesp. 429
Radio Buttonsp. 430
Popup Menusp. 431
Buttonsp. 433
Form Elements and Event Handlersp. 433
JavaScript and Objectsp. 434
Linking JS and HTML Filesp. 435
Summaryp. 436
B Macromedia User Interface Guidelinesp. 437
Fonts and Colorsp. 438
Graphicsp. 438
Inserting Imagesp. 438
File Formatsp. 438
Navigational/Illustrative Images (Icons)p. 439
Branding Images (Logos)p. 440
Layoutp. 441
Dialog Box Layoutp. 441
Property Inspector Layoutp. 444
Form Elementsp. 444
Text Fieldsp. 444
Checkboxes and Radio Buttonsp. 445
Lists and Popup Menusp. 445
Color Buttonsp. 447
Tree Controlsp. 447
Buttonsp. 448
Buttons in Objects and Behaviorsp. 448
Buttons in Commandsp. 449
Buttons in Property Inspectors/Floating Panelsp. 450
Online Helpp. 450
Short Helpp. 450
Tabbed Help Layerp. 450
Help Buttonp. 451
Error-Checking, Default Values, and Morep. 451
Focus and Selectionp. 452
Error-Checkingp. 452
Default Valuesp. 453
Summaryp. 454
C Packaging Extensions for Use with the Extension Managerp. 455
Packaging Extensionsp. 456
Summaryp. 474
D Submitting Extensions to the Macromedia Dreamweaver Exchangep. 477
Guidelines for Submissionp. 478
Recommended Test Planp. 479
All Extensions: Preparing to Testp. 479
All Extensions: Testing Installationp. 479
Testing Objectsp. 480
Testing Property Inspectorsp. 481
Testing Commandsp. 482
Testing Behaviorsp. 483
Testing Floating Panelsp. 484
Testing Site-Wide Extensionsp. 486
E Online Resources for Dreamweaver Extensibilityp. 487
Web Sitesp. 488
Forumsp. 489
Toolsp. 489
F Contents of the Dreamweaver MX Extensions Book Companion Web Sitep. 493
Chapter 2 "Creating Custom Objects"p. 494
Workshop #1 Centering Tablep. 494
Workshop #2 Block Spacer Tagp. 494
Workshop #3 Custom Horizontal Rulep. 494
Chapter 3 "Creating Custom Behaviors"p. 494
Workshop #1 Back/Forward Behaviorp. 494
Workshop #2 Set Page Propertiesp. 494
Chapter 4 "The Dreamweaver DOM"p. 495
Test Filesp. 495
Chapter 5 "Creating Custom Commands and Menu Commands"p. 495
Workshop #1 Automatic Alt Textp. 495
Workshop #2 Make Uppercasep. 495
Workshop #3 Change Casep. 495
Menu Commands Practicep. 496
Workshop #4 Select Imagesp. 496
Chapter 6 "Creating Custom Property Inspectors"p. 496
Inspector Practicep. 496
Workshop #1 Block Spacer Inspectorp. 496
Workshop #2 Custom Horizontal Rule Inspectorp. 497
Chapter 7 "Creating Custom Floating Panels"p. 497
Sample and Resource Filesp. 497
Workshop 1 Table Helperp. 497
Chapter 8 "Mixing Extension Types"p. 497
Chapter 9 "Server Behaviors"p. 498
Workshop #1 If-Then Statement (Conditional Content)p. 498
Workshop #2 Dynamically Determined Imagep. 498
Chapter 10 "Into the Great Beyond"p. 499
Practice Filesp. 499
Resource and Framework Filesp. 499
Appendixesp. 499
Indexp. 501