You’re holding in your hands the definitive guide to Dreamweaver MX — the only book you need to master today’s leading Web development tool.. Author Joseph Lowery has worked with the Dre
Trang 1If Dreamweaver MX can do it, you can do it too
You’re holding in your hands the definitive guide to Dreamweaver MX — the only book you need to master
today’s leading Web development tool Author Joseph Lowery has worked with the Dreamweaver team at
Macromedia since the program’s first release, and he is intimately familiar with every Dreamweaver tool,
technique, and shortcut From Dreamweaver basics to all the dramatic changes in MX — enhanced CSS
capabilities, new template options, the new tag library structure, ASP.NET and PHP support, ColdFusion
integration, and Web services tools — he shows you step by step how to get the most out of Dreamweaver
and create sites that are truly state-of-the-art.
Inside, you’ll find complete coverage of Dreamweaver MX
• Get up and running fast in the revamped Dreamweaver workspace
• Ramp up your coding with built-in Snippets, Code Hints, and the advanced
Tag Chooser
• Build complex pages using enhanced CSS rendering capabilities and advanced
selector options
• Discover how to fine-tune dynamic Web pages using Live Data Preview
• Harness new Dreamweaver behaviors for advanced navigation techniques using
pop-up menus
• Seamlessly integrate rich client interfaces built in Flash with Fireworks graphics
and digital video
• Increase team site-building productivity securely with nested templates, Library
page elements, and Sitespring integration
• Get the scoop on XML and XHTML support in Dreamweaver
• Extend Dreamweaver with commands, custom tags, translators, and behaviors
PC running Windows 98/2000/Me/XP, Windows
NT 4 or later; Power Macintosh running System 8.6
or later See “What's on the CD-ROM” appendix for
CD-ROM
Hundreds of Dreamweaver extensions Dreamweaver MX, Flash MX, and Fireworks MX trials
Build data-driven sites with drag-and-drop ease through Dreamweaver MX’s enhanced user interface.
Bonus CD-ROMOver 300 extensions —
of major new layout and code-editing enhancements Create Web applications and services using ASP, ASP.NET, JSP,
ColdFusion, or PHP
Macromedia Dreamweaver MX, Fireworks MX, and Flash MX trial versions
Example style sheets and Web pages from the book
since version 1 to solve real-world development problems.”
— David Deming, Product Manager for Dreamweaver, Macromedia
Trang 3MX Bible
Trang 5Dreamweaver ®
MX Bible
Joseph W Lowery
Trang 6Copyright © 2002 by Wiley Publishing, Inc., Indianapolis, Indiana
Library of Congress Control Number: 2002108095
ISBN: 0-7645-4931-6
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
1B/QX/QY/QS/IN
Published simultaneously in Canada
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means,electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108
of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorizationthrough payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA
01923, (978) 750-8400, fax (978) 750-4744 Requests to the Publisher for permission should be addressed to the LegalDepartment, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4447, E-Mail: permcoordinator@wiley.com
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: WHILE THE PUBLISHER AND AUTHOR HAVE USED THEIR BEST EFFORTS IN PREPARING THIS BOOK, THEY MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS BOOK AND SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE NO WARRANTY MAY BE CREATED
OR EXTENDED BY SALES REPRESENTATIVES OR WRITTEN SALES MATERIALS THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR YOUR SITUATION YOU SHOULD CONSULT WITH A PROFESSIONAL WHERE APPROPRIATE NEITHER THE PUBLISHER NOR AUTHOR SHALL BE LIABLE FOR ANY LOSS OF PROFIT OR ANY OTHER COMMERCIAL DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL,
Trademarks: Wiley, the Wiley Publishing logo and related trade dress are trademarks or registered trademarks of Wiley
Publishing, Inc., in the United States and other countries, and may not be used without written permission Macromedia Flash MX , FreeHand 10, JRun Server, and Macromedia Sitespring 1.2 copyright © 1995-2001 Macromedia, Inc., 600 TownsendStreet, San Francisco, CA 94103 USA All Rights Reserved Macromedia, Flash, FreeHand, JRun SiteSpring and Dreamweaverare trademarks or registered trademarks of Macromedia, Inc in the United States and/or other countries All other trade-marks are the property of their respective owners Wiley Publishing, Inc., is not associated with any product or vendormentioned in this book
Trang 7About the Author
Joseph Lowery has been writing about computers and new technology since 1981 He is
the author of the previous editions of Dreamweaver Bible and Fireworks Bible as well as
Buying Online For Dummies (all published by Wiley) He recently co-wrote a book on Flash
with designer Hillman Curtis and has also written books on HTML and using the Internet for business His books are international bestsellers, having sold more than 300,000 copiesworldwide in ten different languages Joe is also a consultant and trainer and has presented
at Seybold in both Boston and San Francisco, Macromedia UCON in the U.S and Europe, and
at ThunderLizard’s Web World As a partner in Deva Associates, Ltd., Joe developed the DevaTools for Dreamweaver set of navigational extensions Joe and his wife, dancer/choreogra-pher Debra Wanner, have a daughter, Margot
Trang 8About the Contributors
Lisa Boesen spent eleven years as a systems programmer — working with, learning from, and
being inspired by some of the most impressive people in the computer industry This ground in computer science and her experience as both a software developer and an end userperfectly suited her to step into the role of technical writer in 1993 As a specialist in online documentation, Lisa has consulted with a wide variety of clients, designing, writing, and imple-menting their online documentation in formats that include WinHelp, Adobe Acrobat, andHTML Most recently, Lisa has focused on developing training materials to teach others abouther favorite Web authoring tool, Dreamweaver
back-Rick Scott has worked as a technical writer, programmer, tester, layout artist, instructor,
multimedia developer, Web site designer, philologist, linguist, composer, performer, failedscreenwriter, (marginally) successful novelist, and devout neopagan herbalist What drawshim to technical writing is the great and good joy of creating Order from Chaos
Daniel Short never planned to be a Web designer, it just happened He started out in the
Army tearing apart computers and eventually began putting together Web sites Dan is adevoted Macromedian (and Team Macromedia volunteer) and uses almost the entireMacromedia Web Design Suite, including Fireworks and Macromedia Flash He’s been doingthe Web gig since the end of 1998 and has had great luck building his Web design businessthrough Web Shorts Site Design Dan helps maintain several HTML and Dreamweaver refer-ence sites including DreamweaverFAQ.com, for which he created the style changer and allASP functionality, including the Snippets Exchange Dan has also written articles for severalresource sites, including AListApart.com, run by Jeffrey Zeldman, and Spider Food.net, run
by J.K Bowman Dan is a contributing author for Dreamweaver MX Magic (published by
New Riders)
Trang 9About the Technical Editors
Angela C Buraglia spent six years as an independent film makeup artist before realizing that
she wanted a career that would allow her to start a family and stay home with her husband andchild In an effort to give back to the Macromedia Dreamweaver newsgroup community thathelped and encouraged her in her new career, she founded DreamweaverFAQ com Althoughshe only intended to be a Web developer, life’s path has led her to become that and more In
addition to her contribution to this book, Angela is also a contributing author for Dreamweaver
MX Magic (published by New Riders) and ColdFusion MX Web Application Construction Kit
(pub-lished by Macromedia Press) Currently, Angela is also a Team Macromedia volunteer forDreamweaver Angela’s future plans are to continue developing DreamweaverFAQ.com, to buildand sell Dreamweaver extensions, to give presentations at conferences, and perhaps to becomeinvolved in new book projects Long gone are the days of applying makeup; now Angela appliesbehaviors and CSS to Web sites and — most importantly — is home with her little boy
Marc Garner runs sixtyeight, a UK-based Web design and development company (www.
sixtyeight.co.uk) He has over 15 years experience in the creative design industry, withthe last 6 years devoted to Web design and application development Marc has provided organizations with Macintosh training in major graphics and Internet software packages In
addition, he was the Macintosh technical editor for Dreamweaver MX Weekend Crash Course,
also published by Wiley Away from the studio, Marc can be found painting with Aimee orplaying trains with Curtis
Jon Parkhurst’s Internet quest began when he was handed MPI’s Web site in 1995 As he
delved further into the underbelly of the Net, he soon became lost with the endless lines
of code-crunching minions In 1996, Jon began doing contract work under CDC Digital(www.cdcdigital.com) and continued until 2000 Jon currently works as the head of the E-Commerce Department at Unimark, Inc (www.unimark.com) and contracts underNetNucleus.org During the workday, he can typically be found peppering the Macromedianewsgroups as a volunteer Team Macromedia Member During his off hours, he can be foundadministering his main personal site, IdentityOutpost.com, or hiking through the foothills ofMissouri with his two kids
Trang 10Development Editors
Erik Dafforn Susan Hobbs
Copy Editors
Mary Lagu Luann Rouff
Editorial Manager
Mary Beth Wakefield
Vice President and Executive Group Publisher
Quality Control Technician
Laura Albert David Faust
Permissions Editor
Carmen Krikorian
Media Development Specialist
Angela Denny
Proofreading and Indexing
TECHBOOKS Production Services
Cover Image
Murder By Design
Trang 11For my father, William W Lowery, 1920-2002
Love you, Dad
Trang 13Things were starting to become predictable
Like clockwork, Macromedia has dutifully updated the world’s leading Web developmentenvironment annually since the original Dreamweaver 1 release in December, 1997 It was getting to the point where you could plan family events around it: “The new Dreamweaver
is out Time to start the holiday shopping!” This tradition continued through December 2000when I joined the Dreamweaver team
Then, all at once, everything changed The nature and scope of Web development changed.Suddenly the newspapers weren’t just reporting that www.milkshakedelivery.com hadwasted its $100 million in venture capital and filed for bankruptcy The entire technical sector
of the economy was looking bleak Stalwarts like IBM and Cisco were suddenly laying peopleoff Web-related projects were put on hold across the board; it was as if the Web was put onstandby People began to question the hype that had been generated the last couple years.Was the Web here to stay?
The Dreamweaver team watched all this and decided it was time to take a step back andrethink what Dreamweaver was all about Another yearly update simply wasn’t going to cut it this time We used the downturn in the economy as an opportunity to batten down the hatches, prolong the development cycle, and try to really do something big The next version of Dreamweaver couldn’t be about just incremental improvements and new features
It had to fundamentally change, just as the Web development landscape had fundamentallychanged We knew the Web was here to stay, but there was no doubt that things were differ-ent; and with change comes opportunity
It turns out that we were literally surrounded by opportunities With ColdFusion as part of theproduct portfolio, we had an opportunity to bring the power of Web application development
to every static HTML designer out there With the release of NET, we had the chance to takethe power of a new platform and make it readily usable by mere mortals With the settling ofstandards, we could lead developers into creating next-generation sites using CSS2, XML, andXHTML to allow them to be maintained and expanded for years to come With the advent ofWeb services, we had the opportunity to let developers add sophisticated functionality totheir sites without learning Java or C# And with the convergence of the Web developmentworkforce, we had the potential to produce a single tool that all members of a Web develop-ment team could use to get their jobs done, whether it was visually oriented, code-centric,
or some combination thereof
Trang 14We seized on all these opportunities with Dreamweaver MX and, in the end, produced a totallynew Web-development environment What you may not realize is that Joe Lowery was with
us just about every step of the way We do our best to get customer feedback throughout thedevelopment cycle, and Joe has always been great at providing this input Whether filing bugreports, contributing to newsgroups, or sending e-mails about feature requests and ideas, Joe
is a constant source of real-world feedback for us And that comes through in his writing Joeuses the products he writes about day in and day out, and that makes all the difference With
a product as different and new as Dreamweaver MX, I’m not sure which is more difficult:building an application or describing it Either way, Joe shows how to use the most significantrelease of Dreamweaver since version 1 to solve real-world development problems I hopeyou enjoy using Dreamweaver as much as we enjoyed creating it
David Deming
Product Manager, Dreamweaver Macromedia, Inc.
Trang 15Dreamweaver MX stands at the center of a complex series of overlapping worlds In onerealm, we have designers of static Web pages looking to expand their knowledge baseinto data-driven sites Over there, you’ll find application developers — some savvy in ActiveServer Pages and ASP.NET, some in ColdFusion, and some others in JavaServer Pages andPHP — anxious to develop for the Internet There’s a spectrum of experience in both campsthat runs the gamut from eager novice to experienced professional Then there’s yet anothergroup of prospective Web craftsmen and artists who want to do it all and are looking for
a place to start Dreamweaver MX is the one program robust enough for them all, and
Dreamweaver MX Bible is your guidebook to all its features and capabilities.
What’s in a name? In the case of Macromedia’s Dreamweaver MX, you’ll find one of the mostappropriate product names around Web page design is a blend of art and craft; whether you’re
a deadline-driven professional or a vision-filled amateur, you’ll find that the Dreamweaverunderpinnings of this tool provide an intuitive way to make your Web visions a reality.Dreamweaver implies development, and Dreamweaver MX excels at producing multifacetedWeb pages that bring content locked in a data store to the surface
To use this book, you need only two items: the Dreamweaver software and a desire to makecutting-edge Web pages (Actually, you don’t even need Dreamweaver to begin; the CD-ROMthat accompanies this book contains a trial version.) From quick design prototyping to ongoingWeb site management, Dreamweaver automates and simplifies much of a Webmaster’s work-load Dreamweaver is not only the first Web authoring tool to bring the ease of visual editing
to an HTML-code–oriented world, it also brings a point-and-click interface to complex coding
whether server-side or client-side The Dreamweaver MX Bible is designed to help you master
every nuance of the program Are you building multipage Web applications? Are you creating
a straightforward layout with the visual editor? Do you need to extend Dreamweaver’s bilities by building your own custom objects? With Dreamweaver and this book, you can weaveyour dreams into reality for the entire world to experience
capa-What’s New in Dreamweaver MX
Since its inception, Dreamweaver has strived to serve two masters: professional Web opers, savvy in technique and used to hand-coding, and beginning designers looking to overcome their lack of HTML and JavaScript expertise Dreamweaver MX attempts to con-tinue the balancing act of satisfying the two different markets — and, in large part, succeeds.Innovations in Dreamweaver MX can be categorized into three areas: layout and design, codeediting, and Web-application building
Trang 16devel-Enhanced layout features
Perhaps the most obvious new feature is Dreamweaver’s totally redesigned workspace Panelsare now docked together and, if the Windows-only MDI mode is used, documents appear in asingle window The redesigned look and feel matches other Macromedia products in the MXline: Fireworks, Flash, and soon, FreeHand This common user interface smoothes out theworkflows and aids productivity
Dreamweaver also revamped the underlying architecture of how documents and sites worktogether and, in the process, made it far easier to work with different types of Web documents.The New Document feature now allows you to pick from 36 different standard formats — and,better still, you can add your own Macromedia also includes a wide variety of basic page layouts: everything from text-based pages to product catalogs
Dreamweaver honed its cutting edge a little finer with enhanced Cascading Style Sheet (CSS)support — both on the coding and the rendering side The CSS Panel has been given a fullmakeover and now offers split functionality for easier editing and applying of styles DesignTime Style Sheets is another new feature, which incorporates CSS design with dynamic appli-cation power
If you’re a template user, you’ll also find a lot more flexibility available to you In addition toeditable regions, templates may now have repeating regions or optional regions Repeatingregions are used to increase or decrease the rows in a table while keeping the table structureintact Optional regions can hide or display any elements on a page — like an “On Sale Now”graphic — at design time
Code editing improvements
The most far-reaching change to Dreamweaver’s coding environment is under the hood, so
to speak Dreamweaver MX completely revitalized its coding architecture by tying each page
type to a customizable set of tags known as a tag library This enhancement gives Dreamweaver
users the power to create HTML, XHTML, ASP, ColdFusion, XML pages, and more with equalease Macromedia also provides an easy-to-use editor for managing existing tag libraries andadding new ones
Some of the more resonant repercussions of Dreamweaver’s underlying tag library structureare of particular use to hand-coders On demand, Dreamweaver provides hints for both tagsand their attributes This enables very rapid code development The tag libraries are alsoresponsible for Dreamweaver’s code completion system — you’ll never forget to close a tagagain!
Two other new features are geared to ramp up code production The Snippets panel keepscommonly used blocks of code within easy reach — and, of course, you can add your owncode and manage the categories however you choose The Tag inspector serves double-duty
by first exposing all the page elements in a collapsible tree structure, and second by allowingall the attributes of any selected element to be directly edited
Web application advancements
Dreamweaver’s connectivity greatly expands in Dreamweaver MX In addition to supportingASP (in both JavaScript and VBScript), JSP, and ColdFusion, Dreamweaver now writes ASP.NET(in either C# or VBScript) and PHP code with equal aplomb Macromedia has even developedsome custom ASP.NET tags to speed development
Trang 17Preface
Given Macromedia’s merger with Allaire, you might expect a greater integration betweenDreamweaver and ColdFusion — and you’ll get it in Dreamweaver MX In addition to a majoroverhaul of the server behavior code so that it’s more familiar to ColdFusion developers,Dreamweaver now boasts a direct connection to a new feature in ColdFusion MX: ColdFusionComponents Components can be written, applied, and even inspected from within
Dreamweaver
One of the hottest trends in Web application development is known as Web services Web services are a form of distributed application — and Dreamweaver lets you build pages thatcan access Web services and display the required information
Dreamweaver appeals to both the expert and the novice Web designer Although the program
is extraordinarily powerful, it’s also fairly intuitive Nonetheless, designers new to the Weboften find the entire process overwhelming — understandably so To give folks a bird’s-eyeview of the overall use of Dreamweaver in Web site design and production, this edition includes
a Quick Start in Chapter 2 In this chapter, you’ll see how one designer — yours truly — workswith Dreamweaver in every aspect of building Web pages and constructing a site
Who Should Read This Book?
Dreamweaver attracts a wide range of Web developers Because it’s the first Web authoringtool that doesn’t rewrite original code, veteran designers are drawn to using Dreamweaver
as their first visual editor Because it also automates complicated effects, beginning Web
designers are interested in Dreamweaver’s power and performance Dreamweaver MX Bible
addresses the full spectrum of Web professionals, providing basic information on HTML ifyou’re just starting, as well as advanced tips and tricks for seasoned pros Moreover, thisbook is a complete reference for everyone working with Dreamweaver on a daily basis
What Hardware and Software Do You Need?
Dreamweaver MX Bible includes coverage of Dreamweaver MX If you don’t own a copy of
the program, you can use the trial version on this book’s CD-ROM Written to be independent, this book covers both the Macintosh and Windows versions of DreamweaverMX
platform-Macintosh
Macromedia recommends the following minimum requirements for running Dreamweaver on
a Macintosh:
✦ Macintosh PowerPC (G3 or higher recommended)
✦ Mac OS 9.1 or higher or Mac OS 10.1 or higher
✦ 96MB of available RAM
✦ 275MB of available disk space
✦ 256-color monitor capable of 800 × 600 resolution (OS X requires thousands of colors)
✦ CD-ROM drive
Trang 18✦ 275MB of available disk space
✦ 256-color monitor capable of 800 × 600 resolution
✦ CD-ROM driveThese are the minimum requirements As with all graphics-based design tools, more capabil-ity is definitely better for using Dreamweaver, especially in terms of memory and processorspeed
How This Book Is Organized
Dreamweaver MX Bible can take you from raw beginner to full-fledged professional if read
cover to cover However, you’re more likely to read each section as needed, taking the
neces-sary information and coming back later To facilitate this approach, Dreamweaver MX Bible is
divided into seven major task-oriented parts After you’re familiar with Dreamweaver, feel free
to skip around the book, using it as a reference guide as you build up your own knowledgebase
The early chapters present the basics, and all chapters contain clearly written steps for thetasks you need to perform In later chapters, you encounter sections labeled Dreamweaver
Techniques Dreamweaver Techniques are step-by-step instructions for accomplishing specific
Web designer tasks — for example, building an image map that uses rollovers, or eliminatingunderlines from hyperlinks through Cascading Style Sheets Naturally, you can also use theDreamweaver Techniques as stepping stones for your own explorations into Web page creation
If you’re running Dreamweaver while reading this book, don’t forget to use the CD-ROM Anintegral element of the book, the accompanying CD-ROM offers a vast number of additionalDreamweaver server behaviors, objects, commands, and other extensions in addition to rele-vant code from the book
Part I: Dreamweaver MX Basics
Part I begins with an overview of Dreamweaver’s philosophy and design To get the most out
of the program, you need to understand the key advantages it offers over other authoring grams and the deficiencies that it addresses Part I takes you all the way to setting up yourfirst site In Chapter 2, you’ll get an overview of the Web development process as a quick start
pro-to Dreamweaver The other opening chapters give you a full reference pro-to the Dreamweaverinterface and all of its customizable features
Note
Trang 19Preface
Part II: Web Design and Layout
Although Dreamweaver is partly a visual design tool, its roots derive from the language of theWeb: HTML Part II gives you a solid foundation in the basics of HTML, even if you’ve neverseen code, as well as showing you how to get the most out of Dreamweaver’s code environ-ment with any language The three fundamentals of static Web pages are text, images, andlinks You explore how to incorporate these elements to their fullest extent in Chapters 7, 8,and 9, respectively Chapter 10 examines the various uses of tables — from a clear presenta-tion of data to organizing entire Web pages Here you learn how to use Dreamweaver’s visualtable editing capabilities to resize and reshape your HTML tables quickly Forms are an essen-tial element in dynamic Web page design — you’ll learn all about them in Chapter 11 Chapter
12 examines another fundamental HTML option: lists You study the list in all of its forms:
numbered lists, bulleted lists, definition lists, nested lists, and more
Chapter 13 is devoted to image maps and shows how to use Dreamweaver’s built-in Image Maptools to create client-side image maps The chapter also explains how you can build server-sideimage maps and demonstrates a revised technique for creating image map rollovers Chapter
14 investigates the somewhat complex world of frames — and shows how Dreamweaver hasgreatly simplified the task of building and managing these multifile creations, particularlywith the new Frame objects You also learn how to handle more advanced design tasks such
as updating multiple frames with just one click
Part III: Incorporating Dynamic Data
Chapter 15 begins an in-depth investigation of Dreamweaver’s power to create dynamic Webpages by describing how to set up your basic connections and recordsets Chapter 16 explainshow to insert text from a data source on to your Web page and how to format it once it’sincorporated You’ll also see how to relate other Web page elements — such as images, Flashmovies, and other media files — to a data source Chapter 17 continues the exploration bydelving into Dreamweaver’s powerful Repeat Region server behavior as well as discussingtechniques for hiding and showing your data at will
One of Dreamweaver’s most useful features, the Live Data Preview, is explored extensively inChapter 18 Chapter 19 enters the world of multipage applications and explains how variablesand other data can be passed from one page to another
Part IV: Dynamic HTML and Dreamweaver
Dynamic HTML brought a new world of promises to Web designers — promises that went
largely unfulfilled until Dreamweaver was released Part IV of the Dreamweaver MX Bible
examines this brave new world of pixel-perfect positioning, layers that fly in and then pear as if by magic, and Web sites that can change their look and feel at the click of a mouse
disap-Chapter 20 takes a detailed look at the elegance of Cascading Style Sheets and offers techniquesfor accomplishing the most frequently requested tasks, such as creating an external stylesheet Many of the advantages of Dynamic HTML come from the use of layers, which enableabsolute positioning of page elements, visibility control, and a sense of depth You discoverhow to handle all these layer capabilities and more in Chapter 21 Chapter 22 focuses on time-lines, which have the potential to take your Web page into the fourth dimension The chapterconcludes with a blow-by-blow description of how to create a multiscreen slide show, completewith layers that fly in and out on command Chapter 23 offers an in-depth look at the capabili-ties of Dreamweaver behaviors Each standard behavior is covered in detail with step-by-stepinstructions
Trang 20Part V: Adding Multimedia Elements
In recent years, the Web has moved from a relatively static display of text and simple images
to a full-blown multimedia circus with streaming video, background music, and interactiveanimations Part V contains the power tools for incorporating various media files into yourWeb site
Graphics remain the key medium on the Web today, and Macromedia’s Fireworks is a top-notchgraphics generator Chapter 24 delves into methods for incorporating Fireworks graphics —with all the requisite rollover and other code intact Special focus is given to the Dreamweaver-to-Fireworks communication link and how your Web production efforts can benefit from it
In addition to Dreamweaver, Macromedia is perhaps best known for one other contribution
to Web multimedia: Flash Chapter 25 explores the possibilities offered by incorporating Flashand Shockwave movies into Dreamweaver-designed Web pages and includes everything youneed to know about configuring MIME types You also find step-by-step instructions for build-ing Shockwave inline controls and playing Shockwave movies in frame-based Web pages, aswell as how to add Flash buttons and Flash text
Chapter 26 covers digital video in its many forms: downloadable AVI files, streaming RealVideodisplays, and panoramic QuickTime movies Chapter 27 focuses on digital audio, with cover-age of standard WAV and MIDI sound files as well as the newer streaming audio formats, likeMP3
Part VI: Enhancing Web Site Management and Workflow in Dreamweaver
Although Web page design gets all the glory, Web site management pays the bills In Part VI,you see how Dreamweaver makes this essential part of any Webmaster’s day easier to handle.Chapter 28 starts off the section with a look at the use of Dreamweaver Templates and howthey can speed up production while ensuring a unified look and feel across your Web site.Chapter 29 covers the Library, which can significantly reduce any Webmaster’s workload byproviding reusable — and updateable — page elements Chapter 30 describes Dreamweaver’sbuilt-in tools for maintaining cross- and backward-browser compatibility A DreamweaverTechnique demonstrates a browser-checking Web page that automatically directs users toappropriate links
Until now, individual Web developers have been stymied when attempting to integrateDreamweaver into a team development environment File locking was all too easily subverted,allowing revisions to be inadvertently overwritten, site reports were limited in scope and output only to HTML, and, worst of all, version control was nonexistent Dreamweaver MXaddresses all these concerns while laying a foundation for future connectivity In Chapter 31,you see how you can tie Dreamweaver into an existing Visual SourceSafe or WebDAV versioncontrol system Other new features covered include custom file view columns and enhancedDesign Notes accessibility
I can’t think of any new technology on the Web that has so quickly gained the widespreadacceptance that XML has In a nutshell, XML (short for eXtensible Markup Language) enablesyou to create your own custom tags that make the most sense for your business or profession.Although XML doesn’t enjoy full browser support as of this writing, it’s only a matter of time —and little time at that Chapter 32 shows you how to apply this fast-approaching technology oftomorrow in Dreamweaver today
Trang 21Preface
Part VII: Extending Dreamweaver
Dreamweaver is a program with extensive capabilities for expanding its own power Chapter 33explores the brave new world of Dreamweaver extensibility, with complete coverage of usingand building commands as well as custom tags, translators, floaters, and C-level Extensions
With its own set of objects and behaviors, Dreamweaver complements HTML’s extensibility
Chapter 34 shows you how you can use the built-in objects to accomplish most of your Webpage layout chores quickly and efficiently — and when you’re ready for increased automation,the chapter explains how to build your own custom objects If you’re JavaScript-savvy,Chapter 35 gives you the material you need to construct your own client-side behaviors andreduce your day-to-day workload Finally, Chapter 36 examines server behaviors, describingevery standard one in detail and then exploring the use of the Server Behavior Builder,Dreamweaver’s tool for creating custom server behaviors
Appendix
The appendix describes the contents of the CD-ROM that accompanies this book Throughoutthis book, whenever you encounter a reference to files or programs on the CD-ROM, pleasecheck this appendix for more information
Conventions Used in This Book
I use the following conventions throughout this book
Windows and Macintosh conventions
Because Dreamweaver MX Bible is a cross-platform book, it gives instructions for both
Windows and Macintosh users when keystrokes for a particular task differ Throughout this book, the Windows keystrokes are given first; the Macintosh are given second in parentheses, as follows:
To undo an action, press Ctrl+Z (Command+Z)
The first action instructs Windows users to press the Ctrl and Z keys in combination, and thesecond action (in parentheses) instructs Macintosh users to press the Command and Z keystogether
Key combinations
When you are instructed to press two or more keys simultaneously, each key in the tion is separated by a plus sign For example:
combina-Ctrl+Alt+T (Command+Option+T)The preceding tells you to press the three listed keys for your system at the same time Youcan also hold down one or more keys and then press the final key Release all the keys at thesame time
Trang 22Mouse instructions
When instructed to click an item, move the mouse pointer to the specified item and click the
mouse button once Windows users use the left mouse button unless otherwise instructed
Double-click means clicking the mouse button twice in rapid succession.
When instructed to select or choose an item, you may click it once as previously described If
you are selecting text or multiple objects, click the mouse button once, press Shift, and thenmove the mouse to a new location and click again The color of the selected item or itemsinverts to indicate the selection To clear the selection, click once anywhere on the Web page
Menu commands
When instructed to select a command from a menu, you see the menu and the command separated by an arrow symbol For example, when instructed to execute the Open commandfrom the File menu, you see the notation File ➪ Open Some menus use submenus, in whichcase you see an arrow for each submenu, as follows: Insert ➪ Form Object ➪ Text Field
Typographical conventions
I use italic type for new terms and for emphasis and boldface type for text that you need to
type directly from the computer keyboard
of code before pressing the Enter (Return) key
Navigating This Book
Various signposts and icons are located throughout Dreamweaver MX Bible for your assistance.
Each chapter begins with an overview of its information and ends with a quick summary.Icons appear in the text to indicate important or especially helpful items Here’s a list of theicons and their functions:
Trang 23Preface
Tips provide you with extra knowledge that separates the novice from the pro
Notes provide additional or critical information and technical data on the current topic
Sections marked with a New Feature icon detail an innovation introduced in Dreamweaver MX
Cross-Reference icons indicate places where you can find more information on a particulartopic
The Caution icon is your warning of a potential problem or pitfall
The On the CD-ROM icon indicates that the accompanying CD-ROM contains a related file inthe given folder See the appendix for more information about where to locate specific items
jlowery@idest.com
I can’t promise instantaneous turnaround, but I answer all my mail to the best of my abilities
On the CD-ROM Caution
Trang 25When it became known what a tremendous program Dreamweaver MX had become,
I knew I needed a tremendous team to do it justice Luckily, I found one My tors, Lisa Boesen, Dan Short, and Rick Scott, all did what I think was a superb job in bringing
contribu-Dreamweaver MX Bible to life — and they did it in record time, under enormous pressure.
Making sure that we all got it right were the technical editors, Angela Buraglia, Jon Parkhurst,and Marc Garner As lead technical editor, Angela — who you might know as the guiding lightbehind DWFaq.com — brought a keen eye and just the right edge of care A big virtual hugand some very real rounds for everyone the next time we get together
Macromedia has been wonderfully supportive of my efforts to bring out the most detailed
Bible possible I can only imagine the collective groan that goes up when yet another
e-mailed question from me — with a deadline, no less — arrives Warm thanks and heartfeltappreciation to Sho Kuwamoto, Alain Dumesney, Heidi Bauer Williams, and all the otherDreamweaver engineers and techs who opened up their brains for me to pick I’d also like
to single out the Dreamweaver Technical Support staff, whose answers to users’ queries have been tremendous sources of information And who’s that in the back of the room?Macromedia management — in the form of David Mendels, Beth Davis, David Deming, Susan Morrow, Matt Brown, and others — has opened many, many doors to me and shouldstand up and take a bow And, finally, I and the rest of the Dreamweaver community arebeholden to Kevin Lynch and Paul Madar for their vision and hard work in bringing thisdream home
To me, there’s no higher compliment than to be told that I know my business Well, the folks
I work with at Wiley sure know their business: Acquisitions Editor Carol Sheehan, SeniorProject Editor Jodi Jensen, and all the additional support staff And to someone whose busi-ness is to know my business, a double thank you with a cherry on top for my agent, LauraBelt, of Adler & Robin Books
One last note of appreciation — for all the people who took a chance with some of their earned money and bought the previous editions of this book That small sound you hear inthe background is me applauding you as thanks for your support I hope my efforts continue
hard-to be worthy
Trang 26Contents at a Glance
Foreword xiPreface xiiiAcknowledgments xxiii
Part I: Dreamweaver MX Basics 1
Chapter 1: Introducing Dreamweaver MX 3Chapter 2: QuickStart 35Chapter 3: Touring Dreamweaver 55Chapter 4: Setting Your Preferences 145Chapter 5: Setting Up a Site 185
Part II: Web Design and Layout 215
Chapter 6: Accessing the Code Directly 217Chapter 7: Working with Text 265Chapter 8: Inserting Images 321Chapter 9: Establishing Web Links 351Chapter 10: Setting Up Tables 367Chapter 11: Interactive Forms 411Chapter 12: Creating Lists 439Chapter 13: Making Client-Side Image Maps 457Chapter 14: Using Frames and Framesets 473
Part III: Incorporating Dynamic Data 501
Chapter 15: Establishing Connections and Recordsets 503Chapter 16: Making Data Dynamic 533Chapter 17: Managing Data 555Chapter 18: Working with Live Data 575Chapter 19: Crafting Multiple-Page Applications 591
Part IV: Dynamic HTML and Dreamweaver 625
Chapter 20: Building Style Sheet Web Pages 627Chapter 21: Working with Layers 657Chapter 22: Working with Timelines 693Chapter 23: Using Behaviors 717
Trang 27Part V: Adding Multimedia Elements 753
Chapter 24: Fireworks Integration 755Chapter 25: Inserting Flash and Shockwave Elements 777Chapter 26: Adding Video to Your Web Page 817Chapter 27: Using Audio on Your Web Page 839
Part VI: Enhancing Web Site Management and Workflow
in Dreamweaver 859
Chapter 28: Using Dreamweaver Templates 861Chapter 29: Using the Repeating Elements Library 903Chapter 30: Maximizing Browser Targeting 917Chapter 31: Building Web Sites with a Team 939Chapter 32: Integrating with XML 963
Part VII: Extending Dreamweaver 971
Chapter 33: Customizing Dreamweaver 973Chapter 34: Creating and Using Objects 1019Chapter 35: Creating a Behavior 1043Chapter 36: Handling Server Behaviors 1079
Appendix: What’s on the CD-ROM 1115Index 1119Wiley Publishing, Inc End-User License Agreement 1179
Trang 29Foreword xi Preface xiii Acknowledgments xxiii
Part I: Dreamweaver MX Basics 1
Chapter 1: Introducing Dreamweaver MX 3
The Dynamic World of Dreamweaver 3Connecting to the world’s data 4True data representation 5Integrated visual and text editors 5World-class code editing 6Roundtrip HTML 7Web site maintenance tools 8Team-oriented site building 8The Dreamweaver Interface 8Choice of environments 9Easy text entry 9Drag-and-drop data fields 9One-stop object modification 11Accessing and managing resources 11Complete custom environment 12Managing keyboard shortcuts 12Simple selection process 12Enhanced layout options 13Plugin media preview 14Extended Find and Replace 14Up-to-Date Code Standards 14Cutting-edge CSS support 14Addressing accessibility 15Straightforward text and graphics support 15Enhanced table capabilities 16Easy form entry 17Click-and-drag frame setup 17Multimedia enhancements 18
Trang 30Next-Generation Features 18Flash and Fireworks integration 18Server-side behaviors 19Roundtrip XML 203D layers 20Animated objects 21Dynamic style updates 21JavaScript behaviors 22Program Extensibility 23Objects and behaviors 23Server Behavior Builder 23Commands and floating panels 24Adjustable Insert bars 25Custom tags, translators, and Property inspectors 25Automation Enhancements 25Rapid application development with Application objects 25Applying HTML Styles 26Importing office documents 27Reference panel 27History panel 27Site Management Tools 28Object libraries 28Super-charged templates 29Browser targeting 30Converting Web pages 30Verifying links 30FTP publishing 30Site map 31File check in/check out 31Summary 32
Chapter 2: QuickStart 35
Setting Up a Site 35Making the Data Source Connection 39Home Page Layout 41Starting with the <head> 41Specifying page colors 42Initial graphic layout 43Including Client Text 45Adding Dynamic Content 47Inserting Server Behaviors 49Activating the Page with JavaScript 50Previewing and Posting Your Pages 52Summary 54
Chapter 3: Touring Dreamweaver 55
Choosing a Workspace Layout 55Viewing the Document Window 60Switching views in the Document window 61Working with the status bar 62
Trang 31Contents
Accessing the Toolbars 67The Standard toolbar 68The Document toolbar 69The Live Data toolbar 72Selecting from the Insert Bar 73Common objects 76Layout objects 78Text objects 80Table objects 83Frames objects 83Forms objects 85Template objects 87Character objects 87Media objects 88Head objects 89Script objects 90Application objects 91ASP objects 92ASP.NET objects 94CFML Basic objects 95CFML Flow objects 96CFML Advanced objects 97JSP objects 99PHP objects 101Getting the Most Out of the Property Inspector 102Manipulating the Property inspector 102Property inspector elements 103Customizing Your Workspace with Dockable Panels 105Hiding and showing panels 109Customizing panel groups 111Accessing the Menus 112The File menu 113The Edit menu 116The View menu 118The Insert menu 121The Modify menu 128The Text menu 132The Commands menu 135The Site menu 137The Window menu 141The Help menu 143Summary 144
Chapter 4: Setting Your Preferences 145
Customizing Your Environment 145General preferences 145Preferences for invisible elements 150Panels preferences 152Highlighting preferences 153
Trang 32Quick Tag Editor preferences 155Status Bar preferences 156File Types/Editors preferences 157New Document preferences 160Adjusting Advanced Features 161Accessibility preferences 162Layout View preferences 163Layers preferences 165CSS Styles preferences 167Making Online Connections 168Site preferences 168Preview in Browser preferences 170Customizing Your Code 172Fonts preferences 172Code Hints preferences 174Code Rewriting preferences 175Code Colors preferences 178Code Format preferences 179Validator preferences 182Summary 184
Chapter 5: Setting Up a Site 185
Planning Your Site 185Primary considerations 185Design options 187Mapping Dynamic Pages for Web Applications 190Defining a Site 191Using the Site Definition wizard 191Using Advanced mode 195Establishing local connections 195Specifying the remote site 197Adding Testing Server details 199Cloaking Site Folders 200Cloaking folders 201Uncloaking folders (and files) 201Managing Site Info 202Creating and Saving New Pages 203Starting Dreamweaver 203Opening existing files 204Opening a new file 204Saving your file 204Closing the file 206Quitting the program 206Creating New Documents 206Using the New Document dialog box 206Creating a new default document 207Previewing Your Web Pages 208Putting Your Pages Online 210Using the FTP Log panel 212Summary 213
Trang 33Contents
Part II: Web Design and Layout 215
Chapter 6: Accessing the Code Directly 217
The Structure of a Web Page 218Expanding into XHTML 219doctype and doctype Switching 220Defining <head> Elements 221Establishing page properties 221Choosing a page palette 223Understanding <meta> and other <head> tags 225Adding to the <body> 232Logical styles 232Physical styles 233Working with Code View and Code Inspector 234Enabling Code view options 236Printing code 237Enhancing Code Authoring Productivity 238Code Hints and Tag Completion 238Inserting code with the Tag Chooser 241Adding Code through the Snippets Panel 242Using the Reference Panel 244Modifying Code with the Tag Inspector 246Rapid Tag Modification with the Quick Tag Editor 247Insert HTML mode 249Wrap Tag mode 250Edit Tag mode 252Adding Java Applets 253Adding JavaScript and VBScript 256Inserting JavaScript and VBScript 256Editing JavaScript and VBScript 258Validating Your Page 259Inserting Symbols and Special Characters 260Named characters 261Decimal characters and UTF-8 encoding 261Using the Character objects 262Summary 264
Chapter 7: Working with Text 265
Starting with Headings 265Working with Paragraphs 267Editing paragraphs 268Checking Your Spelling 273Using Find and Replace 274Finding on the visual page 275Searching the code 279Concentrating your search with regular expressions 285Controlling Whitespace 289Indenting text 289Working with preformatted text 290
Trang 34The <br> tag 291Other whitespace tags 292Importing Word HTML 294Styling Your Text 296Depicting various styles 297Using the <address> tag 299Adding abbreviations and acronyms 300Using HTML Styles 300Defining HTML styles 301Applying HTML styles 303Removing HTML styles 304Changing default styles 305Modifying Text Format 306Adjusting font size 306Absolute size 307Relative size 308Adding font color 308Assigning a specific font 311Aligning text 315Indenting entire paragraphs 316Incorporating Dates 316Commenting Your Code 318Summary 319
Chapter 8: Inserting Images 321
Web Graphic Formats 321GIF 321JPEG 323PNG 324Using Inline Images 324Inserting images 324Dragging images from the Assets panel 327Modifying images 330Working with alignment options 335Adding Background Images 338Dividing the Web Page with Horizontal Rules 340Applying Simple Web Animation 342Dreamweaver Technique: Including Banner Ads 343Inserting Rollover Images 345Adding a Navigation Bar 347Summary 350
Chapter 9: Establishing Web Links 351
Understanding URLs 351Surfing the Web with Hypertext 353Inserting URLs from the Assets panel 356Pointing to a file 357Addressing types 358Checking links 359Adding an E-Mail Link 359
Trang 35Contents
Navigating with Anchors 361Moving within the same document 362Using named anchors in a different page 363Targeting Your Links 364Summary 365
Chapter 10: Setting Up Tables 367
HTML Table Fundamentals 367Rows 368Cells 369Column and row headings 369Inserting Tables in Dreamweaver 370Setting Table Preferences 372Modifying Tables 374Selecting table elements 374Editing a table’s contents 377Working with table properties 380Setting cell, column, and row properties 390Working with Table Formats 393Sorting Tables 395Importing Tabular Data 397Designing with Layout View 398Drawing cells and tables 400Modifying layouts 405Summary 410
Chapter 11: Interactive Forms 411
How HTML Forms Work 411Inserting a Form in Dreamweaver 413Using Text Fields 414Text fields 414Password fields 416Multiline text areas 417Providing Checkboxes and Radio Buttons 421Checkboxes 421Radio buttons 421Creating Form Lists and Menus 424Drop-down menus 424Menu values 425Scrolling lists 426Navigating with a Jump Menu 428Modifying a jump menu 429Activating Go buttons 430Activating Your Form with Buttons 432Submit, Reset, and Command buttons 432Graphical buttons 432Using the Hidden Field and the File Field 434The hidden input type 435The file input type 435Improving Accessibility 435Summary 437
Trang 36Chapter 12: Creating Lists 439
Creating Unordered (Bulleted) Lists 439Editing unordered lists 441List tags 441Using other bullet symbols 442Mastering Ordered (Numbered) Lists 444Editing ordered lists 446Using other numbering styles 446Making Definition Lists 447Using Nested Lists 449Accessing Special List Types 451Menu lists 451Directory lists 452Dreamweaver Technique: Building Graphical Bullets 452Summary 455
Chapter 13: Making Client-Side Image Maps 457
Client-Side Image Maps 457Creating Image Hotspots 458Using the drawing tools 460Modifying an image map 462Converting Client-Side Maps to Server-Side Maps 463Adapting the server script 463Including the map link 464Dreamweaver Technique: Building an Image Map Rollover 465Step 1: Create two images 465Step 2: Set up the layers 466Step 3: Make the image map 468Step 4: Attach the behaviors 469Step 5: Add the clipping 470Summary 472
Chapter 14: Using Frames and Framesets 473
Frames and Framesets: The Basics 473Columns and rows 474Sizing frames 474Creating a Frameset and Frames 475Creating a new frameset file 475Creating a frameset visually 477Quickly creating framesets with frame objects 478Adding More Frames 480Using the menus 482Using the mouse 483Selecting, Saving, and Closing Framesets 483Selecting framesets and frames 483Saving framesets and frames 485Closing framesets 485Working with the Frameset Property Inspector 485Resizing frames in a frameset 486Manipulating frameset borders 487
Trang 37Contents
Modifying a Frame 488Page properties 488Working with the Frame Property inspector 488Modifying content 493Deleting frames 493Targeting Frame Content 494Targeting sections of your frameset 494Targeting specific frames in your frameset 495Updating two or more frames at once 495Handling Frameless Browsers 496Investigating Iframes 498Summary 500
Part III: Incorporating Dynamic Data 501
Chapter 15: Establishing Connections and Recordsets 503
Data Source Basics 503Understanding How Active Content Pages Work 506Opening a Connection to a Data Source 507Using Data Source Names (DSN) 509Specifying connection strings 516PHP 521Managing Connections 522Extracting Recordsets 522Building simple recordsets 523Writing advanced SQL statements 526Working with recordsets 530Summary 531
Chapter 16: Making Data Dynamic 533
Working with Dynamic Text 533Inserting dynamic text 533Viewing dynamic data 535Formatting Dynamic Data 537Data formatting 537Editing and creating new data formats 545Making Images Dynamic 548Altering attributes dynamically 550Integrating Flash and Other Dynamic Media 551Summary 553
Chapter 17: Managing Data 555
Displaying Data Conditionally 555Repeating data 556Showing and hiding page elements 559Handling Record Navigation 562Building record navigation links 562Using Application Objects for record navigation 564Tracking record status 565
Trang 38Dreamweaver Technique: Using Flash Buttons for Recordset Navigation 565Step 1: Prepare the page 566Step 2: Add the Flash Buttons 566Step 3: Include the JavaScript functions 568Step 4: Insert the hidden variables 570Summary 572
Chapter 18: Working with Live Data 575
Viewing Live Data 576How Live Data works 576Setting up for Live Data 576Entering and exiting Live Data view 579Making changes in Live Data 580Live Data Settings 581Getting the query string 581Posting responses with Live Data settings 583Previewing in the Browser 585Using the Server Debug Panel with ColdFusion MX 586Summary 589
Chapter 19: Crafting Multiple-Page Applications 591
Using the URL to Pass Parameters 591Sending parameters 592Receiving parameters 594Automating master-detail page production 596Getting Values from a Form 601Passing single values from a form 601Passing multiple values from a form 602Passing form and URL values to a related page 603Dreamweaver Technique: Building a Search Engine 604Establishing Dynamic Form Elements 605Text fields 605Checkboxes 607Radio buttons 608List/Menus 609Managing Data Sources Online 610Inserting data 611Updating data 613Deleting data 616Inserting Variables 617Application and session variables 618Request and other variables 618Connecting to the Customer 618Logging in existing customers 619Restricting access 620Log out users 622Adding new customers 623Summary 624
Trang 39Contents
Part IV: Dynamic HTML and Dreamweaver 625
Chapter 20: Building Style Sheet Web Pages 627
Understanding Cascading Style Sheets 628Grouping properties 628Inheritance of properties 628Cascading characteristics 629Defining new classes for extended design control 630How styles are applied 630Creating and Applying a Style Sheet in Dreamweaver 632Dreamweaver Technique: Eliminating underlines from links 632Using the CSS Styles panel to apply styles 634Applying styles through the Property inspector 635Attaching an external style sheet 635Applying, changing, and removing a style 636Defining new styles 638Editing and managing style sheets 640Styles and Their Attributes 642Type options 643Background options 644Block options 645Box options 647Border options 648List options 649Positioning options 650Extensions options 651Design Time Style Sheets 654Summary 655
Chapter 21: Working with Layers 657
Layers 101 657Creating Layers with Dreamweaver 659Inserting a layer object 659Using the Insert ➪ Layer command 661Setting default characteristics of a layer 661Embedding a layer with style sheets 662Choosing relative instead of absolute positioning 665Modifying a Layer 666Selecting a layer 666Resizing a layer 666Moving a layer 667The Layers panel 674Aligning layers with the ruler and grid 676Adding elements to a layer 678Forms and layers 679Creating Your Page Design with Layers 680Using the Tracing Image 680Preventing overlaps 681Designing precision layouts 682
Trang 40Converting content to layers 682Converting layers to tables 683Activating Layers with Behaviors 685Drag Layer 686Set Text of Layer 688Show-Hide Layers 689Dreamweaver Technique: Creating a Loading Layer 690Summary 690
Chapter 22: Working with Timelines 693
Into the Fourth Dimension with Timelines 693Timeline capabilities 694
A few ground rules 695Creating Animations with Timelines 695Adding Layers to the Timelines Panel 696Modifying a Timeline 698Altering the animation bars 698Using the Timeline controls 699Adding keyframes 702Removing timeline elements 704Changing animation speed 704Recording a layer’s path 705Triggering Behaviors in Timelines 707Dreamweaver Technique: Creating a Multiscreen Slideshow 709Step 1: Preparing the graphic elements 709Step 2: Creating the slideshow timeline 711Step 3: Creating the moving layers timeline 712Step 4: Adding the behaviors 714Summary 715
Chapter 23: Using Behaviors 717
Understanding Behaviors, Events, and Actions 717Attaching a Behavior 718Using the Behaviors panel 719Adding a behavior 720Managing events 721Standard actions 724Installing, Managing, and Modifying Behaviors 751Altering the parameters of a behavior 752Sequencing behaviors 752Deleting behaviors 752Summary 752
Part V: Adding Multimedia Elements 753
Chapter 24: Fireworks Integration 755
Easy Graphics Modification 755Optimizing an image in Fireworks 756Editing an image in Fireworks 759Replacing an image placeholder using Fireworks 760