Sams Teach Yourself Macromedia®...

56

Transcript of Sams Teach Yourself Macromedia®...

Page 1: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the
Page 2: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

201 West 103rd St., Indianapolis, Indiana, 46290 USA

Teach Yourself

in 24HoursBetsy Bruce

Dreamweaver® MXMacromedia®

Page 3: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Sams Teach Yourself Macromedia®

Dreamweaver® MX in 24 HoursCopyright © 2003 by Sams PublishingAll rights reserved. No part of this book shall be reproduced, stored in a retrievalsystem, or transmitted by any means, electronic, mechanical, photocopying,recording, or otherwise, without written permission from the publisher. No patentliability is assumed with respect to the use of the information contained herein.Although every precaution has been taken in the preparation of this book, thepublisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein.

International Standard Book Number: 0-672-32346-X

Library of Congress Catalog Number: 2001096490

Printed in the United States of America

First Printing: July 2002

05 04 03 02 4 3 2 1

TrademarksAll terms mentioned in this book that are known to be trademarks or servicemarks have been appropriately capitalized. Sams Publishing cannot attest to theaccuracy of this information. Use of a term in this book should not be regardedas affecting the validity of any trademark or servicemark.

Warning and DisclaimerEvery effort has been made to make this book as complete and as accurate aspossible, but no warranty or fitness is implied. The information provided is onan “as is” basis. The author and the publisher shall have neither liability norresponsibility to any person or entity with respect to any loss or damages arising from the information contained in this book.

ACQUISITIONS EDITORS

Betsy BrownJeff Schultz

DEVELOPMENT EDITOR

Damon Jordan

MANAGING EDITOR

Charlotte Clapp

PROJECT EDITOR

Matthew Purcell

COPY EDITOR

Michael KoppTrish BarkerArlene Brown(Publication Services, Inc.)

PRODUCTION EDITOR

Jennifer Land(Publication Services, Inc.)

INDEXER

Jessica MatthewsMeg Griffin(Publication Services, Inc.)

PROOFREADER

Phil HamerJennifer Putman(Publication Services, Inc.)

TECHNICAL EDITOR

Robyn Ness

TEAM COORDINATOR

Amy Patton

INTERIOR DESIGNER

Gary Adair

COVER DESIGNER

Alan Clements

PAGE LAYOUT

Lisa ConneryJennifer FaaborgSteven M. SansoneMichael TarletonJames T. Torbit(Publication Services, Inc.)

GRAPHICS

Oliver JacksonTammy Graham

Page 4: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Contents at a GlanceIntroduction 1

Part I Getting Started with Dreamweaver MX 3Hour 1 Understanding the Dreamweaver Interface 5

2 Creating a Basic Web Page with Text 35

3 Planning and Defining Your Project 51

4 Setting Lots o’ Links: Hyperlinks, URLs, Anchors,and Mailto Links 65

5 HTML Is Fun! Viewing and Modifying HTML 79

Part II Adding Images and Multimedia 97Hour 6 Displaying Images on a Page 99

7 Using Fireworks to Create Images 111

8 Creating Image Maps and Navigation Bars 131

9 Adding Multimedia Files 143

10 Managing Your Assets with the Assets Panel 163

Part III Web Page Layout with Tables and Frames 177Hour 11 Displaying Data with Tables 179

12 Designing Your Page Layout Using Tables 195

13 Understanding and Building Frames and Framesets 211

Part IV Dynamic HTML: Layers, Cascading Style Sheets, Behaviors, and Timelines 229

Hour 14 Using Dynamic HTML and Layers 231

15 Formatting Your Web Pages with Cascading Style Sheets and HTML Styles 245

16 Inserting Scripted Functionality with Behaviors 263

17 Adding Advanced Behaviors: Drag Layer 277

18 Animating with Timelines 287

Page 5: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Part V Collecting User Data with Forms 305Hour 19 Creating a Form and Using a Form to Collect Data 307

20 Sending and Reacting to Form Data 329

Part VI Organizing and Uploading Your Project 347Hour 21 Managing and Uploading Your Project 349

22 Reusing Items in Your Web Site with the Library 375

23 Creating and Applying a Template 389

24 Using Server-Side Includes and Adding a Date 403

Part VII Appendices 413Appendix A Resources 415

B Customizing Dreamweaver 421

C Glossary 429

Index 441

Page 6: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

ContentsIntroduction 1

Part 1 Getting Started with Dreamweaver MX 3

Hour 1 Understanding the Dreamweaver Interface 5

Acquainting Yourself with Dreamweaver ..............................................................6Installing the Software ............................................................................................7

Hardware and Software Requirements ..............................................................7Getting the Demo Version ................................................................................7

Exploring the Dreamweaver Work Area ................................................................7The Document Window ..................................................................................10Panels and Inspectors ......................................................................................22Drop-Down Menus ..........................................................................................25Context Menus ................................................................................................29Invisible Objects ..............................................................................................29

Getting Help ..........................................................................................................30Discovering Dreamweaver MX’s New Features ..................................................32Summary ..............................................................................................................33Q&A ......................................................................................................................33Workshop ..............................................................................................................34

Quiz ................................................................................................................34Answers ..........................................................................................................34Exercises ..........................................................................................................34

Hour 2 Creating a Basic Web Page with Text 35

Creating a New Page and Setting Page Properties ..............................................35Entering and Centering Some Text ................................................................36Adding a Document Title ................................................................................37Setting Default Text Colors and Page Margins ..............................................38

Pasting Text from a File ........................................................................................41Understanding Paragraph and Break Tags ......................................................41Applying Text Formatting ..............................................................................42Changing Text Size ..........................................................................................42Selecting a Font ..............................................................................................43Turning Text into a List and Using the Indent Button ....................................44

Adding a Separator to a Page ..............................................................................45Saving Your Work and Previewing in a Browser ................................................46Summary ..............................................................................................................48Q&A ......................................................................................................................48

Page 7: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

vi Sams Teach Yourself Macromedia Dreamweaver MX in 24 Hours

Workshop ..............................................................................................................49Quiz ................................................................................................................49Answers ..........................................................................................................49Exercises ..........................................................................................................49

Hour 3 Planning and Defining Your Project 51

Defining a New Web Site ....................................................................................51Using the Site Definition Wizard ........................................................................53Using the Site Panel ..............................................................................................57Using the Site Window ........................................................................................58Creating a Quick Prototype ..................................................................................59Editing a Site Definition ......................................................................................60Considering Site Organization ..............................................................................61Summary ..............................................................................................................63Q&A ......................................................................................................................63Workshop ..............................................................................................................64

Quiz ................................................................................................................64Answers ..........................................................................................................64Exercises ..........................................................................................................64

Hour 4 Setting Lots o’ Links: Hyperlinks, URLs, Anchors, and Mailto Links 65

Exploring Relative and Absolute Paths ................................................................66Adding a Hyperlink Within Your Web Site ..........................................................71Organizing a Long Page with Named Anchors ....................................................73Using the Point-to-File Icon ................................................................................75Adding a Mailto Link ..........................................................................................76Summary ..............................................................................................................77Q&A ......................................................................................................................77Workshop ..............................................................................................................77

Quiz ................................................................................................................77Answers ..........................................................................................................78Exercises ..........................................................................................................78

Hour 5 HTML Is Fun! Viewing and Modifying HTML 79

Exploring Code View ............................................................................................80Exploring the Head and Body ........................................................................81Discovering Code View Options ....................................................................82

Viewing and Editing HTML Tags with the Quick Tag Editor ............................84Using the Insert HTML Mode ........................................................................86Using the Edit Tag Mode ................................................................................88Using the Wrap Tag Mode ..............................................................................88

Setting Your Code Preferences ............................................................................89Setting the Code Colors Preferences ..............................................................89Setting the Code Format Preferences ..............................................................90Setting the Code Rewriting Preferences ........................................................92

Page 8: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Contents vii

Cleaning Up HTML Created with Microsoft Word ............................................93Summary ..............................................................................................................95Q&A ......................................................................................................................95Workshop ..............................................................................................................95

Quiz ................................................................................................................95Answers ..........................................................................................................95Exercises ..........................................................................................................96

Part II Adding Images and Multimedia 97

Hour 6 Displaying Images on a Page 99

Adding an Image to a Page ................................................................................100Aligning an Image with Text ........................................................................102Adding Alternate Text ..................................................................................104Creating a Linked Image ..............................................................................105

Exploring Image Flavors: GIF, JPEG, and PNG ................................................106Adding a Background Image ..............................................................................108Creating a Rollover ............................................................................................108Summary ............................................................................................................109Q&A ....................................................................................................................109Workshop ............................................................................................................109

Quiz ..............................................................................................................109Answers ........................................................................................................110Exercises ........................................................................................................110

Hour 7 Using Fireworks to Create Images 111

Acquainting Yourself with Fireworks ................................................................112Examining the Fireworks Tools ....................................................................113Examining Fireworks Panels ........................................................................114

Creating an Image ..............................................................................................115Adding Text ..................................................................................................117Adding a Shape ............................................................................................118

Creating a Rollover Image ..................................................................................120Adding an Effect ..........................................................................................120

Optimizing Images for Use in a Web Page ........................................................123Slicing an Image into Pieces ..............................................................................125Placing a Fireworks File into Dreamweaver ......................................................127Summary ............................................................................................................128Q&A ....................................................................................................................128Workshop ............................................................................................................128

Quiz ..............................................................................................................128Answers ........................................................................................................129Exercises ........................................................................................................129

Page 9: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

viii Sams Teach Yourself Macromedia Dreamweaver MX in 24 Hours

Hour 8 Creating Image Maps and Navigation Bars 131

Adding Links to a Graphic with Image Maps ....................................................131Creating an Image Map ......................................................................................132

Adding a Rectangular Hotspot ......................................................................133Adding a Circular Hotspot ............................................................................134Adding an Irregular Hotspot ........................................................................135

Aligning Hotspots ..............................................................................................136Targeting a Link to Open in a New Browser Window ......................................137Adding a Navigation Bar with Rollovers and Links ..........................................138Summary ............................................................................................................141Q&A ....................................................................................................................141Workshop ............................................................................................................141

Quiz ..............................................................................................................142Answers ........................................................................................................142Exercises ........................................................................................................142

Hour 9 Adding Multimedia Files 143

Exploring Multimedia and Bandwidth ..............................................................143Understanding Players ........................................................................................144Adding Flash Files ..............................................................................................145

Using the <object> and <embed> Tags ......................................................146Previewing the Movie in the Dreamweaver Document Window ..................146Creating Flash Text ........................................................................................147Creating a Flash Button ................................................................................149

Adding a Link to a PDF File ..............................................................................151Adding a Sound File ..........................................................................................152

Resizing the Control ......................................................................................154Adding Looping to the Sound ......................................................................157

Inserting a Java Applet ........................................................................................158Summary ............................................................................................................160Q&A ....................................................................................................................160Workshop ............................................................................................................161

Quiz ..............................................................................................................161Answers ........................................................................................................161Exercises ........................................................................................................161

Hour 10 Managing Your Assets with the Assets Panel 163

What Are Assets? ................................................................................................164Managing Assets in the Assets panel ..................................................................164

Listing Assets in a Site ..................................................................................164Previewing Assets ..........................................................................................165Exploring Image Assets ................................................................................166Exploring Color Assets ..................................................................................166

Page 10: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Contents ix

Exploring Link Assets ..................................................................................167Exploring Movie Assets ................................................................................167Exploring Script Assets ................................................................................168

Adding Assets to a Web Page ............................................................................169Creating Favorite Assets ....................................................................................171Creating New Assets in the Assets panel ..........................................................172Copying Assets to Another Site ..........................................................................174Summary ............................................................................................................174Q&A ....................................................................................................................174Workshop ............................................................................................................175

Quiz ..............................................................................................................175Answers ........................................................................................................175Exercises ........................................................................................................175

Part III Web Page Layout with Tables and Frames 177

Hour 11 Displaying Data with Tables 179

Creating a Table for Data ....................................................................................180Adding a Table to a Web Page ......................................................................180Selecting Table Elements ..............................................................................180Adding Header Cells to the Table ................................................................183Adding and Sorting Data ..............................................................................183Adding and Removing Rows and Columns ..................................................185Changing Column Width and Row Height ..................................................186Resizing a Table and Changing Border Colors ............................................186Setting Cell Padding and Cell Spacing ........................................................187Using a Dreamweaver Preset Table Format ..................................................188

Adding a Caption from the Table Tab of the Insert Bar ....................................189Importing Table Data ..........................................................................................189Exporting Data from a Table ..............................................................................191Summary ............................................................................................................191Q&A ....................................................................................................................192Workshop ............................................................................................................192

Quiz ..............................................................................................................192Answers ........................................................................................................192Exercises ........................................................................................................193

Hour 12 Designing Your Page Layout Using Tables 195

Using Layout View ............................................................................................196Adding a Layout Table and Layout Cells ....................................................197Stretching Your Content to Fit the Page ........................................................199

Editing a Table in Standard View ......................................................................201Merging and Splitting Table Cells ................................................................201Aligning Table Cell Contents ........................................................................202

Page 11: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

x Sams Teach Yourself Macromedia Dreamweaver MX in 24 Hours

Adding Color to Your Table ................................................................................203Nesting a Table Within a Table ..........................................................................204Using a Tracing Image to Transfer a Design to Your Web Page ........................205Turning Your Table into Layers ..........................................................................207Summary ............................................................................................................208Q&A ....................................................................................................................208Workshop ............................................................................................................208

Quiz ..............................................................................................................208Answers ........................................................................................................209Exercises ........................................................................................................209

Hour 13 Understanding and Building Frames and Framesets 211

Creating a Frameset ............................................................................................212Viewing Frame Borders ................................................................................213Splitting a Page into Frames ........................................................................213Naming Your Frames ....................................................................................214

Using the Frames Panel ......................................................................................216Nesting Frames ..................................................................................................217Using Existing Web Pages with Frames ............................................................218Setting Frame and Frameset Attributes ..............................................................219

Setting the Scrolling and Resize Attributes ..................................................219Setting Borders ..............................................................................................220Setting the Frame Size ..................................................................................221Creating an Alternative to Frames ................................................................222

Using Frame Objects ..........................................................................................223Targeting Linked Pages to Open in a Specific Frame ........................................223Using the Go To URL Behavior to Load Frames ..............................................225Summary ............................................................................................................226Q&A ....................................................................................................................226Workshop ............................................................................................................226Quiz ....................................................................................................................227

Answers ........................................................................................................227Exercises ........................................................................................................227

Part IV Dynamic HTML: Layers, Cascading Style Sheets,Behaviors, and Timelines 229

Hour 14 Using Dynamic HTML and Layers 231

What Is Dynamic HTML? ..................................................................................232Adding a Layer ..................................................................................................232

Setting Layer Positioning ..............................................................................236Adding a Background Color and Background Image ..................................237Exploring Layer Stacking Order ..................................................................238

Page 12: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Contents xi

Aligning Your Layers and Using the Grid ....................................................239Changing Layer Visibility ............................................................................240

Nesting Layers ....................................................................................................241Exploring Layer Tags ........................................................................................243Summary ............................................................................................................243Q&A ....................................................................................................................243Workshop ............................................................................................................244

Quiz ..............................................................................................................244Answers ........................................................................................................244Exercises ........................................................................................................244

Hour 15 Formatting Your Web Pages with Cascading Style Sheets and HTML Styles 245

Creating and Applying a Custom Style ..............................................................246Exploring Style Settings ....................................................................................249Redefining the Heading 3 <h3> Tag ..................................................................252Positioning a Layer with a Style ........................................................................254Creating a Hyperlink Rollover ..........................................................................256Creating an External Style Sheet ........................................................................257Transforming the Property Inspector ..................................................................259Converting Styles to HTML Markup (<font> Tags) ........................................259Saving HTML Markup as an HTML Style ........................................................260Summary ............................................................................................................261Q&A ....................................................................................................................262Workshop ............................................................................................................262

Quiz ..............................................................................................................262Answers ........................................................................................................262Exercises ........................................................................................................262

Hour 16 Inserting Scripted Functionality with Behaviors 263

What Is a Dreamweaver Behavior? ....................................................................264Showing and Hiding Layers ..............................................................................267

Selecting the Behavior ..................................................................................268Selecting the Action That Triggers the Behavior ..........................................270

Opening a New Window ....................................................................................271Popping Up a Message ......................................................................................273Adding a Message in the Status Bar ..................................................................274Summary ............................................................................................................275Q&A ....................................................................................................................276Workshop ............................................................................................................276

Quiz ..............................................................................................................276Answers ........................................................................................................276Exercises ........................................................................................................276

Page 13: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Hour 17 Adding Advanced Behaviors: Drag Layer 277

Using the Tag Selector to Select the <body> Tag ..............................................278Constraining the Movement of Your Layer ........................................................279Capturing the Drop Target Location ..................................................................280Applying the Drag Layer Behavior Advanced Attributes ..................................282Selecting a <body> Tag Event ..........................................................................284Summary ............................................................................................................285Q&A ....................................................................................................................285Workshop ............................................................................................................285

Quiz ..............................................................................................................285Answers ........................................................................................................286Exercises ........................................................................................................286

Hour 18 Animating with Timelines 287

Creating an Animation ........................................................................................287Using the Timelines Panel ............................................................................288Recording a Simple Animation ....................................................................290Turning on Autoplay and Looping Your Animation ....................................293Editing a Behavior in the B Channel ............................................................294Adding a Layer to the Timeline ....................................................................295Adding a Keyframe ......................................................................................298

Controlling Layer Properties with Timelines ....................................................299Placing a Behavior in the Behaviors Channel ....................................................300Using Multiple Timelines in a Web Page ..........................................................301Summary ............................................................................................................302Q&A ....................................................................................................................302Workshop ............................................................................................................302

Quiz ..............................................................................................................302Answers ........................................................................................................303Exercises ........................................................................................................303

Part V Collecting User Data with Forms 305

Hour 19 Creating a Form and Using a Form to Collect Data 307

Creating a Form ..................................................................................................308Adding Text Fields ........................................................................................310Applying Text Field Attributes ......................................................................313Adding Labels ..............................................................................................315

Adding Radio Buttons and Check Boxes ..........................................................316Adding a List or a Menu ....................................................................................318Adding Push Buttons and Picture Buttons ........................................................321

Adding Submit and Reset Buttons ................................................................322Adding an Image Field to Submit a Form ....................................................323Adding a Generic Button ..............................................................................323

xii Sams Teach Yourself Macromedia Dreamweaver MX in 24 Hours

Page 14: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Contents xiii

Creating a Jump Menu to Navigate to Different URLs ....................................323Summary ............................................................................................................326Q&A ....................................................................................................................326Workshop ............................................................................................................327

Quiz ..............................................................................................................327Answers ........................................................................................................327Exercises ........................................................................................................327

Hour 20 Sending and Reacting to Form Data 329

Validating a Form’s Data Using the Validate Form Behavior ............................330Receiving Information from a Form ..................................................................333

Using the FormMail Script ............................................................................335Adding a Hidden Field ..................................................................................335

Exploring Submission Security ..........................................................................337Uploading a File from a Form ............................................................................338Preparing Your Page to Interact with Active Server Pages (ASP), JSP, PHP,

or CFML ..........................................................................................................339Summary ............................................................................................................343Q&A ....................................................................................................................343Workshop ............................................................................................................344

Quiz ..............................................................................................................344Answers ........................................................................................................344Exercises ........................................................................................................344

Part VI Organizing and Uploading Your Project 347

Hour 21 Managing and Uploading Your Project 349

Enabling Server Connection ..............................................................................350Adding Your Remote Site ..............................................................................350Using the Remote Site Advanced Tab ..........................................................355

Moving Your Site onto a Remote Server ............................................................356Understanding Dreamweaver’s Web Site Management Capabilities ................358

Enabling Check In/Check Out ......................................................................358Transferring Files ................................................................................................359Importing an Existing Web Site ..........................................................................362Editing an Entire Site ..........................................................................................362

Synchronizing Your Files on the Local and Remote Sites ............................362Creating a Site Map ......................................................................................365Managing Your Links ....................................................................................367

Adding Design Notes to Your Pages ..................................................................368Generating Reports About Your Web Site ..........................................................370Summary ............................................................................................................371Q&A ....................................................................................................................372

Page 15: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Workshop ............................................................................................................372Quiz ..............................................................................................................372Answers ........................................................................................................372Exercises ........................................................................................................373

Hour 22 Reusing Items in Your Web Site with the Library 375

Creating a Library Item ......................................................................................376Using the Library Category of the Asset Panel ............................................376Creating a Library Item from Existing Content ............................................378Creating a Library Item from Scratch ..........................................................379Adding a Library Item to a Page ..................................................................381

Making Changes to a Library Item ....................................................................384Using Behaviors and Styles in Library Items ....................................................385Summary ............................................................................................................387Q&A ....................................................................................................................387Workshop ............................................................................................................387

Quiz ..............................................................................................................387Answers ........................................................................................................387Exercises ........................................................................................................388

Hour 23 Creating and Applying a Template 389

Creating a Template ............................................................................................390Using the Template Category of the Asset Panel ..........................................390Creating a Template from an Existing Web Page ........................................391Creating a Template from Scratch ................................................................393Making an Existing Region Editable ............................................................394Making a New Editable Region ....................................................................397

Applying a Template to a Web Page ..................................................................398Making Changes to a Template ..........................................................................399Using Behaviors, Styles, and Timelines in Templates ......................................399Summary ............................................................................................................400Q&A ....................................................................................................................401Workshop ............................................................................................................401

Quiz ..............................................................................................................401Answers ........................................................................................................401Exercises ........................................................................................................402

Hour 24 Using Server-Side Includes and Adding a Date 403

What Is a Server-Side Include? ..........................................................................404Inserting a Server-Side Include ..........................................................................405

Turning a Comment into a Server-Side Include ..........................................406Including a File ..............................................................................................407Editing the Server-Side Include File ............................................................409

xiv Sams Teach Yourself Macromedia Dreamweaver MX in 24 Hours

Page 16: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Contents xv

Adding a Last Modified Date ............................................................................410Summary ............................................................................................................411Q&A ....................................................................................................................411Workshop ............................................................................................................412

Quiz ..............................................................................................................412Answers ........................................................................................................412Exercises ........................................................................................................412

Part VII Appendices 413

Appendix A Resources 415

Recommended Books ........................................................................................415Dreamweaver Development ................................................................................416General Web Development ................................................................................416Dynamic HTML (DHTML) ..............................................................................417Dreamweaver Extensions ..................................................................................417Scripting Resources: CGI, JavaScript, ASP, PHP, and CFML ..........................418

CGI ................................................................................................................418JavaScript ......................................................................................................418Server-Side Scripting ....................................................................................418

Accessibility ........................................................................................................419Usability ..............................................................................................................419Downloads ..........................................................................................................419Browsers ............................................................................................................419Organizations ......................................................................................................420

Appendix B Customizing Dreamweaver 421

Creating a Custom Snippet ................................................................................422Making a Menu Command ................................................................................423

Recording a Command ..................................................................................423Saving a Command from the History Panel ..................................................424

Managing Extensions ..........................................................................................426

Appendix C Glossary 429

Index 441

Page 17: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

About the AuthorBETSY BRUCE specializes in technology-based training using Dreamweaver andAuthorware. Formerly a senior developer for MediaPro, Inc. in Bothell, WA, she is nowan independent consultant and trainer. She is a Macromedia certified instructor forDreamweaver, CourseBuilder for Dreamweaver, Flash, and Authorware. Betsy receivedher B.S. degree from the University of Iowa. She is a frequent speaker at conferences oncreating technology-based training. Born and raised in Iowa, Betsy now lives on the Westcoast. Her Web site is located at http://www.betsybruce.com/.

Page 18: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Dedication This book is dedicated to my father, John Bruce, who was an outstanding educator, man, and father.

He touched the lives of so many young people, and I was blessed to be his daughter.

Acknowledgments I’d like to thank Jennifer Henry for her artistic contributions to this book. Thanks to theDreamweaver development team for creating such a great product. Thank you to thewonderful crew at Sams Publishing.

I’d also like to thank my family and friends for helping me through writing this book andsupporting me lovingly in all my endeavors. A big thank you to Schultzie for keeping mecompany during my writing time in Palm Springs. Thanks to Dana, Shasta, and Nikkofor keeping me fed and happy in San Diego.

Page 19: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

We Want to Hear from You!As the reader of this book, you are our most important critic and commentator. We valueyour opinion and want to know what we’re doing right, what we could do better, whatareas you’d like to see us publish in, and any other words of wisdom you’re willing topass our way.

You can e-mail or write me directly to let me know what you did or didn’t like about thisbook, as well as what we can do to make our books stronger.

Please note that I cannot help you with technical problems related to the topic of thisbook, and that due to the high volume of mail I receive, I might not be able to reply toevery message.

When you write, please be sure to include this book’s title and author as well as yourname and phone or e-mail address. I will carefully review your comments and sharethem with the author and editors who worked on the book.

E-mail: [email protected]

Mail: Mark TaberAssociate PublisherSams Publishing201 West 103rd StreetIndianapolis, IN 46290 USA

Reader ServicesFor more information about this book or others from Sams Publishing, visit our Web siteat www.samspublishing.com. Type the ISBN (excluding hyphens) or the title of the bookin the Search box to find the book you’re looking for.

Page 20: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Introduction“Ooooooo, Dreamweaver. I believe you can get me through the night.” Remember thatsong by Gary Wright? OK, some of you weren’t born yet. The song brought up memo-ries of seventh grade dances for me. I’m glad that Dreamweaver, the software, camealong and replaced that vision in my head. Dreamweaver, the software, has helped methrough a number of nights developing Web sites and Web applications!

What Is Dreamweaver MX?Dreamweaver MX is newest version of Macromedia Dreamweaver, an award-winningHTML editor and Web application development tool. Some people do not exploit themore powerful features of Dreamweaver because they don’t know about them. You willnot be one of those people with this book in your hand!

Dreamweaver is excellent at quickly creating forms, frames, tables, and other objects.But Dreamweaver really shines when you need to make your Web page do something.Dreamweaver excels at Dynamic HTML (DHTML), the Web functionality that enablestimeline animation, the exact positioning of content on a Web page, and the scripting tomake it work. Don’t know how to script? No problem! Dreamweaver includes behaviors,scripted functionality that you simply click to add to a certain object.

Who Should Use Dreamweaver MX?Whether you are creating your very first Web page or have decided to try Web editingsoftware after coding by hand for years, you are going to love MacromediaDreamweaver MX. Dreamweaver gives you the freedom to visually design the look of aWeb page and the power to make it act the way you want. Dreamweaver gives you theflexibility to create your own personal Web page or an entire corporate intranet site.

Who Should Use This Book?This book is for anyone now using Dreamweaver, as well as anyone who is planning to.If you are new to Web development, this book will get you up to speed creating Webpages and Web sites. If you are already a Web developer, you’ll find tips, tricks, andinstructions to get all you can out of Dreamweaver MX.

This book covers creating regular Web pages in Dreamweaver MX, including forms,tables, interactivity, animation, and JavaScript. After you have mastered the techniques

Page 21: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

covered here, you may want to explore other advanced capabilities of DreamweaverMX to create Web pages that connect to databases. This book does not cover connect-ing Web pages to databases. Connecting your Web pages to databases enables you tocreate Web pages that change dynamically depending on user choices.

How to Use This BookEach hour of this book represents a lesson that should take you approximately an hour tolearn. The book is designed to get you productively working in Dreamweaver MX asquickly as possible. There are numerous figures to illustrate the lessons in the book.

Each lesson begins with an overview and a list of topics. The lesson ends with questionsand answers, a quiz, and some exercises that you can try on your own. Within the lessonsyou’ll find the following elements, which provide additional information:

2 Sams Teach Yourself Macromedia Dreamweaver MX in 24 Hours

Notes give extra information on the current topic.

Tips offer advice or an additional way of accomplishing something.

Cautions signal you to be careful of potential problems, giving you informa-tion on how to avoid or fix them.

And remember: have fun!

Page 22: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

HOUR 3Planning and DefiningYour Project

You use the Site panel to plan, create, and manage your projects. It’s importantthat you define your Web site before you start working on it so Dreamweaverknows how to set links properly. Defining a new site should always be yourfirst step when you start working on a new project.

In this hour, you will learn

• How to define a Web site using the Site Definition wizard

• How to modify your Web site definition

• How to organize a Web site

Defining a New Web SiteAll Web sites have a root directory. The root of your Web site is the maindirectory that contains files and other directories. When you define a Website, Dreamweaver considers that directory and all the files within it to be

Page 23: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

the entire “universe” of that particular Web site. If you attempt to insert an image fromoutside this universe, Dreamweaver will prompt you to save the file inside the Web site.

Dreamweaver isn’t overly controlling! The program needs to define the internal realmof your Web site so that it knows how to reference other files. For instance, if animage is located in an images directory within the defined site, Dreamweaver knowshow to properly reference the image within a Web page. If, however, the image issomewhere outside of the defined site, Dreamweaver can’t reference it properly andyou will end up with bad links in your Web site. You’ll learn more about howDreamweaver addresses files in Hour 4, “Setting Lots o’ Links: Hyperlinks, URLs,Anchors and Mailto Links.”

You’ll define a new Web site for every project you create. Even if these projects arerelated, you may decide to break them down into smaller sites so the number of filesisn’t unwieldy. For instance, I create eLearning applications, courses that people can takeover the Web. When I’m working on a project, I often break individual lessons of acourse into separate defined sites. When I need to work on Lesson 1, I open that site, andwhen I need Lesson 2, I open it. You can have only a single site open in Dreamweaver atone time.

If you do not have any sites yet defined in Dreamweaver, you’ll see a Define a Sitelink in the Site panel. Click on this link and you’ll open the Site Definition dialogbox. If you already have sites defined in Dreamweaver, you’ll see a list of them in the Site panel. Click on the Site menu in the Site panel and select the New Site command.

The Site Definition dialog box, shown in Figure 3.1, has two tabs at the top: Basic andAdvanced. Make sure you have the Basic tab selected. The Basic tab contains the SiteDefinition Wizard that walks you through the site definition. You can always go back andchange or update your site if you need to.

The Site Definition Wizard has three main sections illustrated by the section names at thetop of the wizard. These are

• Editing Files—This section helps you set up the local directory where you’ll workon the Web site. You tell the wizard whether or not your site uses server-side tech-nologies (the sites in this book do not).

• Testing Files—This section is needed only for sites that use server-side technologies.

52 Hour 3

Page 24: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Using the Site Definition WizardIn the Site Definition Wizard, give your site a name, as shown in Figure 3.2. This nameis used only inside Dreamweaver, so you can use spaces and characters if you want. Thesite name should be meaningful, identifying the purpose of the Web site when you dropdown the Site menu to change sites. My Dreamweaver copy has about 30 to 40 sitesdefined at times. I need clear names so I can quickly find the site I want to edit. Click theNext button.

The next page, Editing Files (Part 2 shown in Figure 3.3), enables you to specify whetheryou will be using server-side scripting to create dynamic Web pages. Our Web pages willbe regular HTML pages, so you should select the top radio button that says No, I do notwant to use a server technology. Click the Next button.

Planning and Defining Your Project 53

3

FIGURE 3.1The Basic tab of the SiteDefinition dialog boxwalks you through setting up a site definition.

Sections

Basic tab

Advanced tab

• Sharing Files—This section enables you to tell Dreamweaver how you want totransfer files to a server or other central location to share. You’ll explore this func-tionality in Hour 21, “Managing and Uploading Your Project.”

Page 25: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

54 Hour 3

FIGURE 3.3Part 2 of the EditingFiles section of the SiteDefinition Wizardenables you to tellDreamweaver whetheryou will be usingserver-side scripting inyour site.

FIGURE 3.2Your site name is usedby Dreamweaver onlyto identify this site.

The next page, Editing Files, Part 3, helps you specify where the files in your site arelocated. The site that you edit in Dreamweaver is your development site; it isn’t the finalsite that other people will view on the Web. You can store your development files in threeplaces: on your local machine, on a network drive, or on a server somewhere. Select thetop radio button, electing to store the development files on your local machine. If you are

Page 26: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Planning and Defining Your Project 55

3

FIGURE 3.4You enter the directorythat will house yourdevelopment files.

File and directory names containing spaces, punctuation, or special charactersmay cause problems on some Web servers. You can use underscores instead ofspaces in names. In addition, file names are case-sensitive on some Web servers.

working in a networked environment (at your office, for instance), you could use eitherof the other two choices. However, do not ever link to the final live version of your Website for development. You do not want to make a mistake on the real site; always makesure you are working on a copy of the site.

The textbox at the bottom of the dialog box, shown in Figure 3.4, asks you to enter thelocation of the site directory. Click the folder icon to the right of the textbox to navigateto the directory. Use an existing directory on your hard drive or create a new directoryfor your local site. Click the Next button.

The next section enables you to configure how you share files. You may set up a centrallocation where members of your team can save files once they are finished editing them.Or, you may set up a location on a public Web server where you intend to share yourWeb site with the Web community. You’ll learn how to set this section up and transferfiles in Hour 21. For now, simply drop down the top menu and select None as shown inFigure 3.5. Click the Next button.

Page 27: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

56 Hour 3

FIGURE 3.6The Site DefinitionWizard displays a summary of your sitedefinition.

The last page of the wizard displays a summary of your site, as shown in Figure 3.6. Youcan come back to this wizard at any time to change your site definition by selecting theEdit Sites command from the Site menu (the menu in the Site panel or the menu in theDocument window). Click the Done button.

FIGURE 3.5To set up the connection information later,simply select None.

After you click the Done button, Dreamweaver displays a message telling you that it willnow create the initial site cache, as shown in Figure 3.7. When you click OK, a progress

Page 28: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Planning and Defining Your Project 57

3

FIGURE 3.7Dreamweaver tells youit is creating a cachefor your site. This filespeeds updating linkswhen you move orrename a file.

bar appears (and disappears very quickly if you have nothing in your site yet). The initialsite cache is created each time you create a new site. The site cache is used to storeinformation about the links in your site so they can be quickly updated if they change.Dreamweaver continues to update the cache as you work.

Using the Site PanelYou’ll select the site you’d like to work on in the Site panel, shown in Figure 3.8. Youcan then select the Web page you’d like to edit from the Site panel or create a new one.In Windows, the Site panel enables you to browse files on your computer. To get a biggerview of the site and more functionality, select the Expand/Collapse button in the Sitepanel to open the Site window. Mac users use the Site window instead of the Site panel;it can be opened using the Site Files command in the Site menu.

Site drop-down menu

Expand/Collapse buttonFIGURE 3.8The Site panel enablesyou to change sitesand open Web pages.

Page 29: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

On the Mac, the Site window is a separate window from the Document window. Youcan keep this window open all the time if you’d like access to it. Windows usersshould go ahead and click the Expand/Collapse button in the Site window toolbar tocollapse the window and return to the Document window. Mac users should stay inthe Site window.

58 Hour 3

FIGURE 3.9The Site window has two panes, thelocal files and the remote site.

The Site panel enables you to quickly locate and launch all the files in your Web site. Youmay want to leave it open all the time and use it to open files. If you use the Site panel toopen files, you won’t need to constantly select the Open command and navigate to files.You can move, rename, delete, copy, paste, and open files in the Site panel.

Using the Site WindowOpen the Site window by clicking the Expand/Collapse button (Windows) or selectingthe Site Files command in the Site menu (Mac). The Site window, shown in Figure 3.9,is a larger representation of the Site panel and has two panes: the local files (on the rightby default) and the remote site (on the left). Since you did not define a remote site, youwill not have any files in the remote site.

Page 30: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Planning and Defining Your Project 59

3

Creating a Quick PrototypeYou can create a directory structure right in the Dreamweaver Site panel. The Site panelenables you to create new directories and new files. A context menu displays when youright-click (Control+click on the Mac) on the top line of the site files (the one with theopen green folder that represents the site root). The context menu, shown in Figure 3.10,has two commands of interest at the top: New File and New Folder. You’ll use thosecommands in this section to create files in your site.

FIGURE 3.10The Site panel context menu contains commands to create new folders (directories) andfiles in your Web site.

First, create an images directory. From the Site panel context menu, select the NewFolder command. An untitled folder is added to your site. Give this folder the nameImages. Next add a file to the root directory. Right-click (or Control+click) on theroot folder and select the New File command. Make sure you aren’t clicking on the images folder because then you will create the new file in that folder instead of in the root folder. Dreamweaver then creates a new Web page. Title the Web pageindex.html, which is the default page name for many servers. A default page willload into the browser as the default page only when the user points to the directorythe page is in. The results should look like Figure 3.11.

Page 31: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

60 Hour 3

I think it’s a good idea to name everything with lowercase letters. Someservers and scripting languages are case sensitive. When I name everythingwith lowercase letters, I never incorrectly enter the name.

Editing a Site DefinitionYou may need to change properties of your site definition or add information that youleft out when you initially defined the site. The Edit Sites dialog box, shown in Figure 3.12,enables you to modify any of the sites you have defined in Dreamweaver. You can createa new site here or edit, duplicate, or remove an existing site. Open the Edit Sites dialogbox by selecting the Edit Sites command from the Site menu.

FIGURE 3.12The Edit Sites dialogbox enables you toedit, duplicate, orremove existing sites.

Select the site you just created, and click the Edit button in the Edit Sites dialog box. TheSite Definition dialog box opens again. Click on the Advanced tab at the top of the dia-log box. This is another view of the information that you entered into the wizard, shownin Figure 3.13. There are categories on the left side of the dialog box with the selectedcategory’s properties displayed on the right.

FIGURE 3.11Use the Site panel context menu toquickly add files andfolders to the Web site.

Page 32: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Planning and Defining Your Project 61

3

You can import and export site definitions to XML files that you can sharewith others or use to define the site on a different computer. This feature,described in Hour 21, could save you a lot of time.

FIGURE 3.13The Advanced tab contains all of the site properties.

In the Local Info category, select the folder icon next to the Default Images Foldertextbox. Navigate to the images folder you just created. Now Dreamweaver knows whereyou’ll keep your images for the site. Click the OK button to save your changes. Click theDone button to close the Edit Sites dialog box.

Considering Site OrganizationThere are many opinions on the proper way to organize a Web site. Some people like tocompartmentalize all the files into directories and subdirectories. Some people like tohave a very shallow structure, with many files in a single directory. As you get moreexperienced at Web development, you’ll find your ideal organization. It’s nice toexchange ideas with other Web developers or hobbyists so you can learn from the suc-cesses and failures of others and they can learn from yours.

I have a directory on my hard drive called Projects, shown in Figure 3.14. The Projectsdirectory contains a directory for each project I’m working on. Within each project direc-tory there is a directory called Web, set as the root directory for the project. This is thedirectory where I keep all the development files for the site and the directory that I set asthe root in Dreamweaver.

Page 33: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

62 Hour 3

FIGURE 3.14An example directorystructure, in which theWeb site is housed inthe Web directory.

This directory structure enables me to put other files in the client’s folder without makingthem part of the Web site. It’s good practice to keep other files separate from those youplan to transfer to the Web. You may prefer to have one directory that contains all of yourWeb sites. Whatever works best for you.

Put some thought into how you’ll organize the files in your Web site before you start aproject. You will probably want to create a separate images folder to hold your images,as shown in Figure 3.15. If you have other types of assets, such as sound or video, youmight want to create separate folders for those, too. I always create a scripts directory tohold external JavaScript files and external Cascading Style Sheet files; you’ll explorethese in the later hours of the book.

If you have different sections of your Web site, do you want to create separate directoriesfor the images in each section? It might be a good way to organize your site. Then again,if the same graphics are used across multiple sections, it might just make the images hardto find. Make sure that your organizational logic isn’t going to break down in the future.

Luckily, if you do have to rearrange assets, Dreamweaver will update any links for you.When you move a file, Dreamweaver asks you if you want to search and update links tothat file. That’s what the site cache is created for. However, it is still better to make wisedesign decisions at the beginning of a big project.

Page 34: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Planning and Defining Your Project 63

3

FIGURE 3.15Organize your Web siteinto images and otherdirectories.

I also try to logically break up sections of Web sites into separate directories. If yourWeb site has obvious divisions (departments, lessons, products, and so on), you can cre-ate directories to hold the Web pages in each of the sections. You’ll be surprised at howeven a small Web site becomes quickly unmanageable when all the files are dumped intoone directory.

SummaryIn this hour, you learned how to define a Web site and determine its root. You learned how to quickly add files and folders to your site. You learned how to use theSite panel and expand it to the Site window. And you explored ideas about how toorganize your site.

Q&AQ How do I import a Web site into Dreamweaver?

A There is no procedure for importing a site. You simply define a site exactly as youdid this hour, pointing to the root directory of the site you’d like to import.Dreamweaver will present all of the files in the Site panel, enabling you to openand edit them.

Page 35: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Q If I’m uploading my site to the Web server, won’t people be able to see my sitewhile it’s still in progress?

A Yes, if they know the URL. It’s better to create a “staging area” somewhere thatisn’t public on your server as your remote site until you are ready to launch yourcompleted site. When you are finished, you can either upload the entire site to itsfinal location or ask your Webmaster to direct the proper URL to your staging area.

WorkshopThe Workshop contains quiz questions and activities to help reinforce what you’velearned in this hour. If you get stuck, the answers to the quiz can be found following thequestions.

Quiz1. Why do you need to define a Web site?

2. What does the Dreamweaver cache do?

3. True or False. You must go through a conversion process to import an existing Website into Dreamweaver.

Answers1. You define a Web site so that Dreamweaver knows where the root of the site is.

2. Enabling the cache speeds up some Dreamweaver features, such as updating hyperlinks.

3. False. No conversion process is necessary to import an existing Web site intoDreamweaver.

Exercises1. Try defining a new Web site. Add some files and folders.

64 Hour 3

Page 36: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Add Timeline command(Modify menu), 301

Add URL dialog box, 173Adobe Acrobat Reader, 151

Web site, 151Adobe Photoshop, 106

Fireworks and, 121AIFF, 154.aiff file, 429align attribute, 189align=“center” attribute,

91aligning text, 37alignment, 205–207alternate text (alt text)

adding, 104–105defined, 430

anchor (<a>) tag, 90, 268animations, 287–302

browser compatibility, 288creating, 287–299

visibility properties,288

z-index, 288

looping, 293–294recording simple,

290–293anti-aliasing, 147

defined, 430API. See Application

Programming Interface(API)

applet, 430Application Programming

Interface (API), 430Area within Layer com-

mand (Drag Handlemenu), 283

ASP. See Active ServerPages (ASP)

ASP.NET, 430Web pages, 418

Asset menu commandsNew, 398Update Page, 385, 399Update Pages, 385, 399

Asset panel, 163

A

absolute paths, 66–70defined, 66Web pages and, 68

Accessibility resources Web sites, 419

actions, 264Active Server Pages (ASP),

339–343defined, 430

ActiveX, 430Add and Remove Netscape

Layer Fix command(Command menu), 234

adding a caption, 189adding data, 183adding links to PDF files, 151adding table rows and

columns, 185–186Add Keyframe command

(Context menu), 298Add Object to Library com-

mand (Modify menu), 378

INDEX

Page 37: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

categories, 164, 165colors, 166–167images, 166list of, 164movies, 167script, 168–169URLs, 167

copy to site, 174defined, 430favorites, 171–172Library category, 376–377sorting of, 166Template category,

390–391Asset panel commands

Copy to Site, 174Edit Nicknames, 171

assetscolors, 166–167copying, 174creating, 172–173defined, 164, 430favorites list, 171–172images, 166inserting, 169–170JavaScript, 168–169links, 167listing, 164, 165managing, 164movies, 167previewing, 165, 166scripts, 168–169sharing, 174video, 167

attributesalign, 189align=“center”, 91defined, 430frame, 219–221layer, 233library item, 382–383location toolbar, 271menu bar, 271

navigation toolbar, 271pluginspace, 145resize handles, 271resizing, 220scrollbars, 271scrolling, 219–220status bar, 271visibility, 268window name, 271

Authorware Web Player, 145defined, 430

Auto Indent, 83Autoplay, 293

defined, 430autostart parameter, 157Autostretch, 198–201

defined, 430stretching content, 199turning on, 199

Autostretch command(drop-down menu), 200

.avi file, 429

B

background colors, 40background images, 108

defined, 430background panel settings

(Style definition dialogbox), 250

bandwidth, 21, 143–144defined, 143, 430

B channel behavior,294–295

Beatnik, 154behaviors

attaching to objects,266–267

B channel, 294–295Call JavaScript, 265Change Property, 265

Check Browser, 265Check Plugin, 265Control Shockwave/Flash,

265defined, 263–264, 430Drag Layer, 265editing, 294–295Go To Timeline Frame, 265Go to URL, 265

loading frames, 225Hide Pop-up Menu, 265Jump menu, 265, 325Jump Menu Go, 265Open Browser Window,

265Play Sound, 265Play Timeline, 265Popup Message, 265

adding the, 273changing order of

behaviors, 273–274Preload Images, 265selecting, 268–269selecting trigger actions,

270–271Set Nav Bar Image, 265Set Text of Frame, 265Set Text of Layer, 265Set Text of Status Bar, 265Set Text of Text Field, 265Show-Hide Layer, 265, 270

adding to hyperlinks,268–269

changing visibilityattributes, 269

creating layers, 268Show Pop-up Menu, 265Stop Timeline, 265Swap Image, 265Swap Image Restore, 265using in templates, 399Validate Form, 265, 330,

332

442 Asset panel commands

Page 38: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Behavior panel (Fireworks),115

behaviors channel, 300–301Behaviors panel, 266, 294_blank reserved target

name, 137–138, 224Block category, 253block panel settings (Style

definition dialog box), 250body, 431<body> tag, 278–279,

284–285, 293, 386, 400,408

border colors, 186–187border panel settings (Style

definition dialog box), 251borders, 220–221box panel settings (Style

definition dialog box), 250Bring to Front command

(Modify menu), 137broadband, 144, 431browser

cache, 431events, 264targeting, 263–264windows, 46

browser resources Websites, 419–420

<br> tag, 41bulleted (unordered) lists,

431Button command (Insert

menu), 322buttons

adding, 321–323browse, 48, 205–207draw layout cell, 18draw layout table, 18generic, 323index, 31ordered list, 44Reset, 322

Submit, 322types, 321unordered lists and, 44

button states, 139down, 431up, 431

C

C#, 431cable modems, 431Call JavaScript behavior,

265<caption> tag, 189cascading style sheets

(CSS), 44converting to HTML

markup, 259–260creating hyperlink

Rollovers, 256custom styles, 246–248

applying, 248creating, 246

defined, 245, 431external style sheets,

257–259heads and, 81positioning layers,

254–255Property inspector and,

259–260redefining heading tags,

252–254selectors, 256

case sensitivity, 60cells

adding layout cells, 197defined, 431resizing, 198

cell paddingdefined, 187, 431setting, 187

cell spacingdefined, 187, 431setting, 187

Center align, 431centering text, 36<center> tag, 91certificates, 338CFML. See ColdFusion

Markup Language (CFML)cgi-bin, 431CGI script. See Common

Gateway Interface (CGI)script

Change Object command(Timelines panel), 297

Change Object dialog box,297

Change Property behavior,265

channels, 288Char Width, 313check boxes, 316–318

creating, 317–318defined, 431

Checkbox command (Insertmenu), 317

Check Browser behavior, 265Checked Out By report, 370Check In/Check Out

enabling, 358–359transferring files, 360

Check In command (Sitemenu), 361

Check Out command (Sitemenu), 361

Check Plugin behavior, 265Choose Spacer Image

and Autostretch, 199classic TV theme songs Web

site, 152Clean up Word HTML

command (Commandmenu), 93

Clean up Word HTML command (Command menu) 443

Page 39: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Clean up Word HTML dia-log box, 94

client-side image maps, 132defined, 431

Cloak command (Sitemenu), 392

cloaking, 392Code and Design view, 432Code format preferences,

90–92Code inspector, 83

vs. Code view, 82Code Navigation menu, 19code preferences

code colors, 89–90code format, 90–92code rewriting, 92setting, 89–92

Code rewriting preferences,92

Code view, 18–19, 80–84defined, 432displaying, 82options, 82–84

ColdFusionRDS Access, 353

ColdFusion MarkupLanguage (CFML),339–343

defined, 432Web pages, 418

Collapse button, 24, 432color cubes palette, 432color picker, 39–40

panels, 39colors

adding, 40adding tables, 203–204as assets, 166–167background, 40changing, 200

columnsadding, 185–186defined, 432

increasing and decreasing,201

removing, 185–186column width and row

height, 186Combinable Nested Font

Tags report, 370Command menu, 27Command menu commands

Add and RemoveNetscape Layer Fix, 234

Clean up Word HTML, 93Format Table, 188Manage Extensions, 426Optimize Image in

Fireworks, 106Play Recorded, 424Sort Table, 184Start Recording, 424

commandsAsset menu

New, 398Update Page, 385, 399Update Pages, 385, 399

Asset panelCopy to Site, 174Edit Nickname, 171

Command menuAdd and Remove

Netscape Layer Fix,234

Clean up Word HTML,93

Format Table, 188Manage Extensions, 426Optimize Image in

Fireworks, 106Play Recorded, 424Sort Table, 184Start Recording, 424

Context menuAdd Keyframe, 298Locate in Site, 166Merge Cell, 201

Documents windowDraw Layout Cell, 197

Drag Handle menuArea within Layer, 283Entire Area, 283

Drop-down menusAutostretch commands,

200Edit menu

Copy, 25Cut, 25Find, 25Paste, 25Preferences, 25Replace, 25Select Child, 88Select Newer Local,

363Select Newer Remote,

363Select Parent Tag, 88

Edit Tag, 85File menu

CSS Styles to HTMLMarkup (Convertsubmenu), 260

Design Notes, 369Edit Browser List,

47–48Export CSS Styles, 259Export Table (Export

submenu), 191New, 35, 71Open in frame, 212,

219Preview in browser,

47–48Save All, 212Save As Template, 392Save Frame, 214, 215Save Frameset, 212,

215Save Frameset As, 212Save Site Map, 367

444 Clean up Word HTML dialog box

Page 40: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

File menu (Fireworks)Export Preview, 126New, 71, 115

Help menuUsing Dreamweaver, 30

Insert menuButton (Form Object

submenu), 322Checkbox (Form

Object submenu), 317Comment command

(Text object sub-menu), 405

Fireworks HTML, 127Hidden Field, 336Horizontal Rule, 46Image Field (Form

Object submenu), 323Insert Image, 100Jump menu (Form

Object submenu),324

Layer, 233, 241List/Menu (Form

Object submenu),319

Named Anchor, 74New Editable Region

(Template Objectssubmenu), 396

New Optional Region(Template Objectssubmenu), 397

Radio Group (FormObject submenu),316

Rollover Image, 108Server-Side Include,

408Tabular Data (Table

submenu), 190Text Field (Form

Objects submenu),310

Modify menuAdd Object to Library

(Library submenu),378

Add Timeline(Timeline submenu),301

Bring to Front (Arrangesubmenu), 137

Convert Tables toLayers (Convert sub-menu), 207

Edit NoFrames Content(Frameset submenu),222

Make Same Height(Align submenu), 137

Make Same Width(Align submenu), 137

Page Properties, 37Quick Tag Editor, 85Record Path of Layer

(Timeline menu), 291Remove Template

Markup (Templatessubmenu), 398

Send to Back (Arrangesubmenu), 137

Split Frame Right(Frameset submenu),215

Template commands(Template submenu),394

Property inspectorSplit Cell command,

202Remove Tag <form>, 323Select all, 120Site menu

Check In, 361Check Out, 361Cloak (Cloaking sub-

menu), 392

Connect/Disconnect,357

Edit Sites, 56, 60, 350Export, 362Get, 357Import, 362New Home Page, 365New Site, 52Put, 357Refresh, 357Reports, 105, 371Set as Home Page, 365Site Files, 57, 58Synchronize, 362

Site panel (Context menu)New file, 59New folder, 59

Text menuNew CSS Style (CSS

Styles submenu), 246Timelines panel

Change Object, 297View menu

Edit Grid (Grid sub-menu), 240

Frame Borders (VisualAids submenu),213–214

Head Content, 81, 169Invisible Elements, 29,

74Invisible Elements

(Visual Aids sub-menu), 309

Show Grid (Grid sub-menu), 239

Snap To (Grid sub-menu), 239

Toolbar, 18Tracing images, 205View as Root, 366

commands (Word)File menu

Save as Web Page, 93

commands (Word) 445

Page 41: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

comments, 406Comment command (Insert

menu), 405Comment object, 432Common Gateway Interface

(CGI) scriptdefined, 431GET method, 334POST method, 334processing forms,

334–335Web site, 418

conditionals, 407Connect/Disconnect com-

mand (Site menu), 357context menu, 1025

defined, 432tables and

adding rows andcolumns, 185–186

removing rows andcolumns, 185–186

context menu commandsAdd Keyframe, 298Locate in Site, 166Merge Cells, 201

continuous tone palette, 432controls, 154–156Control Shockwave/Flash

behavior, 265Convert Tables to Layers

command (Modify menu),207

Convert Tables to Layersdialog box, 207

Copy command (Editmenu), 25

Copy to Site command(Asset panel), 174

CourseBuilder, 432CSS. See Cascading Style

Sheets (CSS)

CSS Styles to HTMLMarkup command (Filemenu), 260

customization, 421–427of Manage Extensions,

426–427to install third-party

extensions, 426uninstalling an exten-

sion, 427of a menu command

recording a command,423–424

saving a commandfrom the Historypanel, 424

of a snippet, 422Cut command (Edit menu),

25

D

Date object, 432David Griffin’s snow applet

Web site, 158default page names, 59, 68delimiter

data, 189defined, 189field, 189

Design Notes, 368–370Design Notes command

(File menu), 369Design Notes report, 370Design view, 18–19

defined, 432displaying, 82

demo version ofDreamweaver (Web site), 7

development sites, 54DHTML. See Dynamic

HTML (DHTML)

dialog boxesAdd URL, 173Change Object, 297Choose Spacer Image

and Autostretch, 199Clean up Word HTML, 94Convert Tables to Layers,

207Draw Layer, 282–284Edit Contents, 341Edit Sites, 60Format Table, 188Go to Timeline Frame,

294Go to URL, 225Grid Settings, 240Insert Date, 411Insert Fireworks HTML,

127Insert Flash Text, 148–149Insert Jump Menu, 324Insert Named Anchor, 74Insert Navigation Bar, 139Insert Rollover Image, 108Insert Table, 180Insert Tabular Data, 190List Values, 320New Editable Region, 396New Style, 257Page Properties, 205

tracing images,205–207

Popup Message, 273Preferences, 308Save As Command, 425Save As Template, 392Save Style Sheet File As,

257Select File, 408Select Image Source, 101,

323Set Text of Status Bar, 274

446 comments

Page 42: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Show-Hide Layers, 269Site Definition, 52–57Snippet, 422Sort Table, 184Split Cell, 202Style definition dialog

box, 246, 248, 255, 258Synchronize Files, 363,

364Update Pages, 399Validate Form, 330

dialog boxes (Fireworks)Export, 123New document, 116Update Pages, 384

digital subscriber line(DSL), 432

Director, 145<div> tag, 91, 285

defined, 243docking panels, 23document relative paths

defined, 66exploring, 66–70Web pages and, 68

documentsadding a title, 37–38creating new, 36

Document window, 8defined, 432Draw Layout Cell com-

mand, 197drop-down menus, 25–27,

29Flash movies, 146–147inspectors, 22invisible objects, 29Page Properties, 37–38panels, 22, 39

docking, 23property inspector, 23–25status bar, 21–22

textcentering, 36entering, 36

toolbar, 18status bar, 19

domains, 67download resources Web

sites, 419Drag Handle menu com-

mandsArea Within Layer, 283Entire Area, 283

Drag Layer, 277–278advance attributes,

282–283<body> tag events,

284–285calculating target location,

280–281using, 279–280

Drag Layer behavior, 265Drag Layer dialog box,

282–284Draw Layout Cell command

(Documents window), 197Draw Layout Cell object,

432Draw Layout Table object,

432Draw Layout Table Tool,

204Dreamweaver

authoring capabilities, 6demo version, 7development resources, 416editing capabilities, 6getting help, 30–31installing, 7interface, 6new features, 32–33work area, 8, 10–11,

13–19, 21–30

Dreamweaver 4, 7Dreamweaver API

(Application ProgrammingInterface), 421

Dreamweaver developmentresources Web sites, 416

Dreamweaver ExtensionsWeb site, 417–418

Dreamweaver MX, 1drop-down menus

Autostretch commands,200

changing text size, 42–44Code Navigation, 19Commands menu, 27context menus, 29Edit menu, 25File Management menu,

19File menu, 25font combination, 43formatting text, 41–42Help menu, 27Insert menu, 26Modify menu, 26Page Properties menu,

37–38Preview/Debug menu, 19Site menu, 28Text menu, 27View menu, 26View Options menu, 19Windows menu, 28Windows Size menu, 21

Drop target location,280–281

DSL. See digital subscriberline (DSL)

Dynamic HTML (DHTML),288

defined, 232, 432resources (Web site), 417

Dynamic Web, 6

Dynamic Web 447

Page 43: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

E

Edit Browser List command(File menu), 47–48

Edit Contents dialog box,341

Edit Grid command (Viewmenu), 240

editingRoundtrip HTML, 6server-side includes,

409–410site definitions, 60tables, 201–202

Edit menu, 25Edit menu commands

Copy, 25Cut, 25Find, 25Paste, 25Preferences, 25Replace, 25Select Child, 88Select Newer Local, 363Select Newer Remote, 363Select Parent Tag, 88

Edit Nickname command(Asset panel), 171

Edit NoFrames Contentcommand (Modify menu),222

Edit Sites command (Sitemenu), 56, 60, 350

Edit Sites dialog box, 60Edit Tag command, 85Edit Tag mode, 88E-mail Link object, 432embedded player. See inline

player<embed> tag, 146<empty> tag, 105entering text, 36

Entire Area command(Drag Handle menu), 283

eventsdefined, 264onBlur, 264, 330onClick, 264, 266,

270–273, 325, 330onFocus, 264onFrame, 294onLoad, 264, 279, 293onMouseDown, 264onMouseOver, 264onMouseUp, 264, 270

Expander arrow, 432Export command (Site

menu), 362Export CSS Styles com-

mand (File menu), 259Export dialog box

(Fireworks), 123Export Preview command

(Fireworks, File menu),126

Export Table command(File menu), 191

extensions, 433extensions panel settings

(Style Definition dialogbox), 251–252

external style sheets, 257

F

fieldsets, 433file endings, 67File fields, 433File Management Menu, 19File menu, 25File menu commands, 35

CSS Styles to HTMLMarkup (Context sub-menu), 260

Design Notes, 369Edit Browser List, 47–48Export CSS Styles, 259Export table (Export sub-

menu), 191New, 35, 71Open in frame, 212, 219Preview in Browser,

47–48Save All, 212Save As Template, 392Save Frame, 214, 215Save Frameset, 212, 215Save Frameset As, 212Save Frameset All, 212Save Site Map, 367

File menu commands(Fireworks)

Export Preview, 126New, 71, 115

File menu commands(Word)

Save as Web Page, 93filenames, 67files

.aiff, 429

.avi, 429

.htm, 429

.html, 429

.https, 429

.mov, 429

.mp3, 429

.shtml, 429

.swf, 429Synchronizing, 362–365transferring, 359–361

File Transfer Protocol(FTP), 68, 351

defined, 433setting, 351–352

Find command (Edit menu),25

firewalls, 433

448 Edit Browser List command (File menu)

Page 44: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Fireworksadding effects to images,

120adding shapes to images,

118–120adding text to an image,

117–118Adobe Photoshop and, 121creating an image, 115

(See also Images, creat-ing)

creating Rollover images,120

defined, 111displays, 112–113exporting files to

Dreamweaver, 127introduction to, 112–115optimizing images,

123–125panels, 114–115slicing images, 125–126tools, 113–114

Fireworks HTML command(Insert menu), 127

Fireworks HTML object, 433Fireworks MX. See

Fireworks, definedFireworks MX Web site

(download), 111Flash buttons

adding text to, 150creating, 149–151defined, 433editing, 150inserting, 149–150

Flash moviesadding, 145–151adding text to Flash but-

tons, 150creating Flash buttons,

149–151creating text, 147–149

anti-aliasing, 147

editing Flash buttons, 150editing text, 149inserting, 146inserting Flash buttons,

149–150inserting text, 147–148previewing, 146–147

Flash objects, 433Flash text, 147–149

creating, 147–149defined, 433editing, 149inserting, 147–148

fontsdefined, 433selecting, 42–43

<font> tag, 44, 259Font Tag Editor, 433Format Table command

(Commands menu), 188Format Table dialog box,

188formatting text, 41–42Form data

processing a form,333–337

CGI script, 333validating, 330–332

form object, 308FormMail Sript

$mailprog variable, 335@referers variable, 335

formsadding check boxes,

316–318adding hidden fields, 336adding radio buttons,

316–318adding text fields,

310–312buttons, 321–323

types, 321creating, 308–310defined, 433

lists, 318–321menus 318–321properties, 310uploading files from,

338–339Forms panel, 308<form> tag, 312, 339fps. See frames per second

(fps)frame attributes, 219–221frame borders, 213Frame Borders command

(View menu), 213–214frame objects, 223frames, 288

alternatives to, 222attributes, 219–221borders, 213creating a frameset,

212–216defined, 212, 433Frames panel, 216–217Go to URL behavior, 225naming, 214–216nested, 217–218NoFrames Content, 222objects, 223setting the size

Netscape and, 221splitting, 215splitting a page into,

213–214targeting, 223–225using existing Web pages

with, 218viewing frame borders,

213framesets

creating, 212–216defined, 212, 433

frameset attributes, 219–221<frameset> tag, 220frameset Web pages, 215Frames panel, 216–217

Frames panel 449

Page 45: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Frames panel (Fireworks),115

frames per second (fps), 290Freescripts Web site, 333FTP. See File Transfer

Protocol (FTP)

G-H

general Web developmentresources Web sites,416–417

generic buttons, 323Get command (Site menu),

357GET method, 334GIFs

defined, 433uses for, 106

glossary, 429–440Go To Timeline behavior, 265Go to Timeline Frame dia-

log box, 294Go To URL behavior, 265Go to URL dialog box, 225Grayscale palette, 433Grid Settings dialog box, 240Gripper, 433head, 434Head Content command

(View menu), 81, 169headers, 434header cells, 183<head> (heading) tag,

252–254, 385, 386, 408help, 30–31

context sensitive, 31Help menu, 28Help menu commands

Using Dreamweaver, 30hexadecimal notation,

434

hidden fieldsadding, 335–337defined, 434

Hidden Field command(Insert menu), 336

hidden parameter, 157Hide Pop-up Menu behavior,

265Highlight Invalid HTML

option (View menu), 83History panel, 424History panel (Fireworks),

115home page, 68Horizontal Rule command

(Insert menu), 46Horizontal Rule Object, 434hotspots, 131–137

adding, 133–136aligning, 136–137circular, 134–135defined, 434irregular, 135–136rectangular, 133–134

H space, 104, 434<h3> tag, 252–254.htm file, 429HTML, 421

cleaning up, 93defined, 434editing

Roundtrip HTML, 6explained, 6finding errors, 84Help, 30Microsoft Word and, 93tags

anchor (<a>), 90, 268<body> tag, 278–279,

284–285, 293, 386,400, 408

<br>, 41<caption>, 189<center>, 91

defined, 439deprecated, 44<div>, 91, 243, 285editing, 84–89<embed>, 146<empty>, 105<font>, 44, 259–260<form>, 312, 339<frameset>, 220<head> (heading) tag,

252–254, 385, 386,408

<h3>, 252–254<html>, 80, 408<img>, 90<meta>, 81, 436<object>, 146<p>, 41Quick Tag Editor, 84<span>, 243<table>, 181<td>, 183<th>, 183<title>, 81

.html files, 429HTML Markup

saving as HTML style,260–261

<html> tag, 80, 408.https files, 429Hyperlink events, 272hyperlink objects, 434hyperlink Rollovers, 256hyperlinks

adding within a Web site,71–73

as assets, 167defined, 65

Hypertext MarkupLanguage. See HTML

Hypertext Preprocessor. SeePHP HypertextPreprocessor (PHP)

450 Frames panel (Fireworks)

Page 46: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

I

iconsdefined

in the Insert bar, 10–18point-to-file, 75

imagesadding alternate text for,

104–105adding background, 108adding a shape, 118–120adding effects, 120–123adding text (Fireworks),

117–118adding to a page, 100–106aligning with text,

102–104alignment options, 103as assets, 166creating (Fireworks),

115–120creating linked, 105–106creating Rollover,

108–109creating Rollover

(Fireworks), 120–123defined, 434optimizing for use in a

Web page (Fireworks),123–125

placing a Fireworks fileinto Dreamweaver, 127

slicing into pieces(Fireworks), 125–126

tracing images, 205–207Image events, 272Image fields

adding, 323defined, 434

Image Field command(Insert menu), 323

Image Flavors, 106–107

Image maps, 131–137browser support, 132client-side, 132creating, 132–133defined, 434hotspots, 131–137

adding, 133–136aligning, 136–137circular, 134–135irregular, 135–136rectangular, 133–134

server-side, 132Image objects, 434image optimization pro-

grams, 106image placeholders, 71Image Placeholder object,

434<img> tag, 90Import command (Site

menu), 362Info panel (Fireworks), 115inline players, 156Insert bar

available options in, 10changing orientation of,

10defined, 434Forms panel, 308Frame tab, 223icons in, 10–18layout tab in, 18Table tab, 189

Insert Date dialog box, 411Insert Fireworks HTML

dialog box, 127Insert Flash Text dialog box,

148–149Insert HTML mode, 86–87Insert Image command

(Insert menu), 100Insert Jump Menu dialog

box, 324

Insert menu, 26layer, 233, 241tables

Tabular Data, 190Insert menu commands

Button (Form Object sub-menu), 322

Checkbox (Form Objectsubmenu), 317

Comment (Text objectsubmenu), 405

Fireworks HTML, 127Horizontal Rule, 46Image Field (Form Object

submenu), 323Insert Image, 100Jump menu (Form Object

submenu), 324Layer, 233, 241List/Menu (Form Object

submenu), 319Named Anchor command,

74New Editable Region

(Template Objects sub-menu), 396

New Optional Region(Template Objects sub-menu), 397

Radio Group (FormObject submenu), 316

Rollover Image, 108Server-Side Include, 408Tabular Data (Table sub-

menu), 190Text Field (Form Objects

submenu), 310Insert Named Anchor dialog

box, 74Insert Navigation Bar dialog

box, 139Insert Navigation Bar

object, 138

Insert Navigation Bar object 451

Page 47: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Insert Rollover Image dia-log box, 108

Insert Table dialog box, 180Insert Tabular Data dialog

box, 190insertion point, 434inspectors, 22interface

work area, 8, 10, 24context menus, 29drop-down menus,

25–29inspectors, 22invisible objects, 29–30panels, 18, 22–23status bar, 19, 21–22toolbar, 18–19

Internet Explorer, 288ActiveX controls, 144events and, 267

invisible elementsnamed anchors and, 74

Invisible Elements com-mand (View menu), 29, 74,309

invisible objects, 29invisible points, 434ISP, 351

J-L

Java, 434Java applets

defined, 158inserting, 158–160requirements for, 158

JavaScript, 282–284, 421assets, 168–169client-side scripts, 329defined, 435Dreamweaver and,

263–275

error messages, 83heads, 81Web site, 418

JavaServer pages (JSP),339–343

defined, 435JPEG

defined, 435uses for, 106

JSP. See JavaServer Pages(JSP)

Jump menucreating a, 323–326editing, 325defined, 435

Jump menu behaviors, 265,325

Jump Menu command(Insert menu), 323

Jump Menu Go behavior,265

Jump Menu object, 323Justify align, 435keyframes, 293

adding, 298–299defined, 435

Keyword, 435labels

adding, 315–316defined, 435

LAN. See Local AreaNetwork (LAN)

last-modified date, 410–411Layer command (Insert

menu), 233, 241Layer object, 435layers

adding, 232–241adding background colors,

237–238adding background

images, 237–238aligning, 239–240

attributes, 233changing visibility, 240–241constraining movement of,

279–280defined, 232, 207, 435nesting, 241–243Netscape 4, 234positioning with styles,

254–255setting positioning,

236–237stacking order, 238–239tags, 243using the grid, 239–240z-index, 238

Layers panel, 207naming buyers, 235

Layers panel (Fireworks),114

Layout tab, 18Layout view, 18, 195–201

adding cells, 197adding tables, 197changing colors, 200defined, 435nesting tables, 204

Layout view button, 435Left align, 435library, 435library items

adding to a page, 381–384attributes, 382–383behaviors and, 385–386creating, 376–384creating from existing

content, 378–379creating from scratch,

379–381hotspots, 386making changes to,

384–385styles and, 385timelines, 386

452 Insert Rollover Image dialog box

Page 48: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Library panel (Fireworks),115

Line numbers, 83, 435linked images, 105–106links

as assets, 167mailto, 76management of, 367null, 268

Liquid Audio, 154List/Menu command (Insert

menu), 319List/Menu object, 318List/Menu object Inserts, 436List panel settings (Style

definition dialog box), 251List Values dialog box, 320lists

adding, 318–321creating, 44–45ordered, 44–45List/Menu object, 318unordered, 44–45

Live Data view, 18–19, 341defined, 436

Local Area Network (LAN)connection, 351defined, 436

Local site, 436Locate in Site command

(Context menu), 166location toolbar attribute, 271loop, 436loop parameter, 157

M

Mac OS palette, 436Macromedia, 7

Web sitesMacromedia, 7Dreamweaver demo, 7

DreamweaverExchange, 145, 426

Dreamweaver SupportCenter, 66

templates, 390Macromedia Dreamweaver.

See DreamweaverMacromedia Extension

Manager, 7, 426mailto link, 76–77Make Same Height com-

mand (Modify menu), 137Make Same Width com-

mand (Modify menu), 137Manage Extensions com-

mand (Command menu),426

Matt’s Form Mail ScriptWeb site, 335

Matt’s Script Archive Website, 333

Max Chars, 313menu bar attribute, 271menus, 318–321

Commands, 27context menus, 29drop-down, 19, 25–29

changing text size,42–44

font combinations, 43formatting text, 41–42Page Properties, 37–38

File menuHelp menu, 28Insert menu, 26List/Menu object, 318Modify menu, 26Site menus, 28Text menu, 27View menu, 26Windows menu, 28

Merge cells command(Context menu), 201

<meta> tag, 81, 436methods

GET, 334POST, 334

Microsoft Excel, 190Microsoft Internet Explorer

Web site, 47, 49Microsoft’s Active Server

Pages (ASP). See ActiveServer Pages

Microsoft VisualSourceSafe, 354, 360

Microsoft WordHTML and, 93

MIDI, 154, 436mirroring, 349Missing Alt Text report,

105, 370Mixer panel (Fireworks),

115Modify menu, 26Modify menu commands

Add Object to Library(Library submenu), 378

Add Timeline (Timelinesubmenu), 301

Bring to Front (Arrangesubmenu), 137

Convert Tables to Layers(Convert submenu), 207

Edit NoFrames Content(frameset submenu), 222

Make Same Height (Alignsubmenu), 137

Make Same Width (Alignsubmenu), 137

Page properties, 37Quick Tag Editor, 85Record Path of Layer

(Timeline menu), 291Remove Template Markup

(Templates submenu),398

Modify menu commands 453

Page 49: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Send to Back (Arrangesubmenu), 137

Split Frame Right(Frameset submenu),215

Template commands(Template submenu),394

movies, as assets, 167–168.mov file, 429MP3, 154.mp3 file, 429multimedia, 143–144

defined, 436formats, 144

N-O

Named Anchor command(Insert menu), 74

Named Anchor object, 436named anchors

defined, 73invisible elements and, 74organizing Web pages,

73–75navigation bar

adding, 138–141creating, 139

Navigation Bar object, 436navigation toolbar attribute,

271nested frames, 217–218nested list, 436nested table, 436nesting tables, 204Netscape Navigator, 288

events and, 267layer attribute support, 296plug-ins, 144

Netscape Navigator Website, 47, 49

Networks, 353

New command (Assetmenu), 398

New command (File menu),35, 71

New command (FireworksFile menu), 115

New CSS Style command(Text menu), 246

New Document dialog box(Fireworks), 116

New Editable Region com-mand (Insert menu), 396

New Editable Region dialogbox, 396

New File command (Sitepanel context menu), 59

New Folder command (Sitepanel context menu), 59

New Home Page command(Site menu), 365

New Optional Region com-mand (Insert Menu), 397

New Site command (Sitemenu), 52

New Style Dialog Box, 257Noframes content, 436Noscript, 436null links, 225numbered (ordered) list, 436objects

attaching behaviors to,266–267

invisible objects, 29, 30plugin, 152–153

resizing the control, 154Insert Navigation Bar, 138Jump Menu, 323List/Menu object, 318textarea, 314

<object> tag, 146onBlur event, 264, 330onClick event, 264, 266,

270–273, 325, 330

onFocus event, 264OnFrame event, 294onion skinning, 120onLoad event, 264, 279, 293onMouseDown event, 264onMouseOver event, 264onMouseUp event, 264, 270Open Browser Window

behavior, 265Open in Frame command

(File menu), 212, 219Optimize Image in

Fireworks command(Command menu), 106

Optimize panel (Fireworks),114

organizations Web sites, 420

P

packets, 337page layout, 195–209

defined, 195page margins, 38–41Page Properties

accessing, 37–38setting default text colors,

38–41setting page margins,

38–41Page Properties commands

(Modify menu), 37Page Properties dialog box,

205page separator, 45–46palette, 436Panel groups, 436panels, 8, 22

Asset, 5categories, 164, 165,

166–167, 168–169favorites, 171–172

454 movies, as assets

Page 50: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

Library category,376–377

Template category, 390Behaviors, 266docking, 23Forms, 308History, 424resizing, 23Site, 57–58, 356

parent directory, 70_parent reserved target

name, 224parsing data, 333Paste command (Edit

menu), 25pasting text, 41password text fields, 313path, 67PDF files. See Portable

Document Format (PDF)files

PHP HypertextPreprocessor (PHP),339–343, 436

Web site, 418playback head, 288–289playcount parameter, 157players, 144–145

ActiveX controls, 144defined, 437inline, 156LiveAudio, 154–156plug-ins, 144QuickTime, 154–156Windows Media Player,

156Play Recorded command

(Commands menu), 424Play Sound behavior, 265Play Timeline behavior, 265Plugin object, 152–15

defined, 437resizing the control, 154

plug-ins, 437pluginspace attribute, 145PNG

defined, 437uses for, 106

point-to-file icon, 75Popup message, 437Popup Message behavior,

265Popup Message dialog box,

273port, 67Portable Document Format

(PDF) files, 151, 437positioning panel settings

(Style definition dialogbox), 251

POST method, 334preferences, 233, 234Preferences command (Edit

menu), 25Preferences dialog box, 308Preload Images behavior,

265present table format, 188Preview/Debug menu, 19Preview in Browser com-

mand (File menu), 47previewing movies, 146–147previewing work, 46–48properties

visibility, 233z-index, 233

Property inspector, 23–25Active Server Pages

(ASP), 341adding table properties,

186Autostretch, 198Autostretch Button, 199Code view, 84colors, 40creating lists, 44–45

creating tables, 198CSS, 259–260defined, 437Fireworks, 114

Effects area, 121Stroke settings, 119

Flash movies, 146Forms, 310frames, 216–217, 219–221help, 31hidden fields, 336Horizontal Rule, 46Image Fields, 323image maps, 132–133images, 106

alignment options, 103alternate text, 104–105editing, 107linked, 105–106

layers, 237–238H property, 235Vis drop-down menu,

240W property, 235

library items, 382–383list, 319–320Merge button, 202page separator, 45–46plugin object, 152–153Quick Tag Editor, 85radio buttons, 317server-side includes, 408Split Cell command, 202tables, 182–183, 187

adding backgroundimages, 204

adding color, 204target menu, 137–138text field, 313–314text size, 42–44transforming for styles,

259protocol, 67

protocol 455

Page 51: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

prototypes, 59–60<p> tag, 41Put command (Site menu),

357

Q-R

query string, 67Quick Tag Editor

defined, 437Edit Tag mode, 88HTML tags, 84–89Insert HTML mode,

86–87modes, 86Property inspector, 85Wrap Tag mode, 88–89

Quick Tag Editor command(Modify menu), 85

QuickTime player, 154, 437radio buttons, 316–317

creating, 316–317defined, 437

radio groups, 437Radio Group Object com-

mand (Insert menu), 316RDS. See Remote Directory

Services (RDS)RealMedia, 153, 437Record Path of Layer com-

mand (Modify menu), 291Redundant Nested Tags

report, 371Refresh command (Site

menu), 357relative frame size, 221recommended books,

415–416Removable Empty Tags

report, 371Remove Tag <form> com-

mand, 323

Remote Directory Services(RDS), 350

defined, 437setting access, 393

remote servers, 356–357remote sites

adding, 350–355Advanced Tab, uses of,

355defined, 350, 437

Remove Template Markupcommand (Modify menu),398

removing table rows andcolumns, 185–186

Replace command (Editmenu), 25

reportsChecked Out By, 370Combinable Nested Font

Tags, 370Design Notes, 370generation of, 370–371Missing Alt Text, 105, 370Redundant Nested Tags,

371Removable Empty Tags,

371Untitled Documents, 371

Reports command (Sitemenu), 105, 371

reserved target names, 224_blank, 137–138, 224_parent reserved target

name, 224_self, 224_top, 224

Reset buttons, 322resize handles attributes, 271resizing browser windows, 46resizing a table, 186–187resizing attributes, 220

right align, 437Rollover, 437Rollover Color, 148rollover images

creating, 108–109creating (Fireworks),

120–123defined, 108

Rollover Image command(Insert menu), 108

Rollover Image object, 437root directory, 51Roundtrip HTML, 6rows, 437

adding, 185–186removing, 185–186

S

Save All Command (Filemenu), 212

Save As Command dialogbox, 425

Save As Template command(File menu), 392

Save As Template dialogbox, 392

Save as Web Page command(MS Word File menu), 93

Save Frame command (Filemenu), 214

Save Frameset AsCommand (File menu),212

Save Frameset Command(File menu), 212, 215

Save Site Map command(File menu), 367

Save Style Sheet File As dia-log box, 257

saving work, 46–48screen resolution, 197, 438

456 prototypes

Page 52: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

scriptsas assets, 168–169defined, 438

Scripting Resources, 418scrollbars, 219–220scrollbars attribute, 271scrolling attributes, 219–220security, 337–338Select All command, 120Select Child command (Edit

menu), 88Select File dialog box, 408Select Image Source dialog

box, 101, 323selecting table elements,

180–183Select Newer Local com-

mand (Edit menu), 363Select Newer Remote com-

mand (Edit menu), 363Select Parent Tag command

(Edit menu), 88_self reserved target name,

224Send to Back command

(Modify menu), 137server connections, 350–356server-side image maps,

132, 438server-side includes (SSI),

403commands, 406conditionals, 407defined, 404–405, 438editing, 409–410including a file, 407inserting, 405–406turning comments into,

406–407Server-Side Include com-

mand (Insert menu), 408Set as Home Page command

(Site menu), 365

Set Nav Bar Image behav-ior, 265

Set Text of Frame behavior,265

Set Text of Layer behavior,265

Set Text of Status Barbehavior, 265

Set Text of Status Bar dia-log box, 274

Set Text of Text Field behav-ior, 265

Shockwave, 145, 438Shockwave Audio, 153Shockwave object, 438shortcuts (keyboard), 48Show Events for menu, 267Show Grid command (View

menu), 239Show-Hide Layer behavior,

265, 267–270Show-Hide Layers dialog

box, 269showing/hiding layers,

267–268Show Pop-Up Menu behav-

ior, 265.shtml files, 429single line text fields, 313site cache, 56–57site definition

defined, 438editing, 60–61importing and exporting,

60–61Site Definition dialog box,

52–57Site Definition Wizard

changing site definitions,56

defined, 52, 438development sites and,

54–55

sections, 52–53server-side scripting,

53–57sharing files, 55site cache, 56–57

Site Files command (Sitemenu), 57

Site Files command (Sitemenu (Mac)), 58

Site maps, 365Site menu, 28Site menu commands

Check In, 361Check Out, 361Cloak (Cloaking sub-

menu), 392Connect/Disconnect, 357Edit Sites, 56, 60, 350Export, 362Get, 357Import, 362New Home Page, 365New Site, 52Put, 357Refresh, 357reports, 105, 371Set as Home Page, 365Site Files, 57, 58Synchronize, 362

site organization, 61–62Site panel, 57–58, 356

defined, 438New File command, 59New Folder command, 59

site root, 70site root relative path, 70Site window, 58, 438Snap To command (View

menu), 239snippets

customizing, 422defined, 438

Snippet dialog box, 422

Snippet dialog box 457

Page 53: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

sorting tables, 184Sort Table command

(Command menu), 184Sort Table dialog box, 184sound files

adding, 152–154looping, 157–158

sound formats (Web), 154sound parameters, 157Source and Version Control

InformationMicrosoft Visual

SourceSafe, 353–354setting, 353–355

SourceSafe, 351South Park sounds Web

site, 152spacer images, 200spacer image trick, 199<span> tag, 243Split Cell command

(Property inspector), 202Split Cell dialog box, 202Split Frame Right com-

mand (Modify menu), 215Split view, 18–19SSI. See server-side include

(SSI)Standard view, 18

defined, 438editing tables, 201–203

Standard view button, 438Start Recording command

(Commands menu), 424status bar, 19, 21–22

adding a message in,274–275

defined, 438tag selector, 181

status bar attribute, 271Stop Timeline behavior, 265streamed content, 144

Style definition dialog box,246, 248, 255, 258

style panelssettings, 249–252

stylesin templates, 399

Styles panel (Fireworks),114

Submit buttonsadding, 322replacing with Image

Field, 323Swap Image behavior, 265Swap Image Restore behav-

ior, 265Swatches panel (Fireworks),

115.swf file, 429symbols, 429Synchronize command (Site

menu), 362–363Synchronize Files dialog

box, 363, 364syntax coloring, 83

T

table, 438table cells, 180

aligning contents,202–203

merging, 201splitting, 201

table dataexporting, 191importing 189-191

Table object, 438table rows, 180tables, 195–209

adding backgroundimages, 204

adding captions, 189

adding color, 203–204adding data, 183adding layout tables, 197adding rows and columns,

185–186adding to a Web page,

180aligning cell contents,

202–203cells, 180changing border colors,

186–187changing column width,

186changing row height,

186creating, 180defined, 180editing, 201–202exporting data, 191header cells, 183importing data, 189–191merging, 201–202nesting, 204present formats, 188removing rows and

columns, 185–186resizing, 186–187, 198

percentages, 186pixels, 186

rows, 180selecting table elements,

180–183setting cell padding, 187setting cell spacing, 187sorting, 184splitting, 201–202table cell tags, 183

<table> tag, 181Tabular Data command

(Insert menu), 190Tabular Data object, 438Tag Chooser, 438

458 sorting tables

Page 54: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

tags (HTML)anchor (<a>), 90, 268<body> tag, 278–279,

284–285, 293, 386, 400,408

<br>, 41<caption>, 189<center>, 91

defined, 439deprecated, 44

<div>, 91, 243, 285<embed>, 146<empty>, 105<font>, 44, 259–260<form>, 312, 339<frameset>, 220<head> (heading) tag,

252–254, 385, 386, 408<h3>, 252–254<html>, 80, 408<img>, 90<meta>, 81, 436<object>, 146<p>, 41Quick Tag Editor, 84<span>, 243<table>, 181<td>, 183<th>, 183<title>, 81

Tag selector, 19, 278–279defined, 439selecting <body> tag,

278status bar

<table> tag, 181targeting

defined, 223–224frames, 223–225reserved target names, 224

targets, 137–138<td> tag, 183

templatesapplying to a Web page,

398–399behaviors, 399–400creating, 390–398

from an existing Webpage, 391–392

from scratch, 393–394defined, 439importing/exporting as

XML, 397making a New Editable

Region, 397–398making changes to, 399making an existing region

editable, 394–397styles, 399–400timelines, 399–400

Template commands(Modify menu), 394

textadding alternate, 104–105adding to images

(Fireworks), 117–118aligning with images,

102–104centering, 36colors, 38creating lists, 44–45entering, 36fonts, 43–44formatting, 41–42size, 42–44

Text colorschoosing, 39setting, 38

text fieldsadding, 310–312adding labels to, 315applying attributes,

313–315defined, 439

resizing, 314types, 313width settings, 313

Text Field command (Insertmenu), 310

Text menu, 27Text menu commands

New CSS Style (CSSStyles submenu), 246

text placeholder, 71textarea fields, 313textarea object, 314

Wrap property, 314<th> tag, 183tiling, 238timelines, 287–302

adding layers to, 295–298channels, 288controlling layer proper-

ties with, 299–300defined, 439frames, 288playback head, 288–289use in templates, 399using multiple, 301–302

Timelines panel, 288–290autoplay check box, 293Change Object command,

297channels, 288frames, 288loop check box, 293playback controls, 289playback head,

288–289title, 439Title Bar, 439<title> tag, 81toolbar, 18

drop-down menus, 19Toolbar command (View

menu), 18

Toolbar command (View menu) 459

Page 55: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

ToolsDraw Layout Table, 204

_top reserved target name,224

tracing images, 205–207Tracing Images command

(View menu), 205transfer methods, 350–351Type panel settings (Style

definition dialog box),249–250

U-V

u-Law (.au), 154Uniform Resource Locator

(URL), 66as assets, 167defined, 439sections of, 67

UNIX, 335Untitled Documents report,

371Update Page command

(Asset menu), 385, 399Update Pages command

(Asset menu), 385, 399Update Pages dialog box,

399Update Pages dialog box

(Fireworks), 384URL. See Uniform Resource

Locator (URL)URL panel (Fireworks), 115usability resources Web

sites, 419Using Dreamweaver com-

mand (Help menu), 30Validate Form behavior,

265, 330–332Validate Form dialog box,

330

variables@referers (formMail), 335$mailprog (formMail),

335VB. See Visual Basic (VB)VBScript, 439vector graphics, 118Verisign, 338Verisign Web site, 338

videos, as assets, 167–168View as Root command

(View menu), 366viewing Web pages, 48View menu, 26View menu commands

Edit Grid (Grid submenu),240

Frame Borders (VisualAids submenu), 213–214

Head Content, 81, 169Invisible Elements, 29, 74Invisible Elements (Visual

Aids submenu), 309Show Grid (Grid sub-

menu), 239Snap To (Grid submenu),

239Toolbar, 18Tracing Images, 205View as Root, 366

View Options menu, 19options, 83

viewsCode view, 18Design view, 18layout, 18, 196Live data view, 18Split view, 18Standard, 18, 196switching between views,

196Vis drop-down menu, 240

visibility, 439attributes, 268

Visibility property, 233Visual Basic (VB), 439Visual SourceSafe (VSS),

439volume parameter, 157V Space, 104, 439VSS. See Visual SourceSafe

(VSS)

W

WAV, 154Web addresses, 66WebDAV, 351, 354, 439Web-safe palette

defined, 439Web server applications,

335Web sites

Accessibility resources,419

adding library items to,381–384

adding Design Notes to,368–370

Adobe Acrobat Reader,151

assetsasset panel, 164colors, 166copying, 174creating, 172–173favorites list, 171–172images, 166inserting, 169–170links, 167listing, 164, 165managing, 164previewing, 165, 166script, 168–169

460 Tools

Page 56: Sams Teach Yourself Macromedia® …ptgmedia.pearsoncmg.com/images/9780672323461/samplepages/...Introduction 1 Part I Getting Started with Dreamweaver MX 3 Hour 1 Understanding the

body of, 81browser resources, 419–420CGI, 418classic TV theme songs,

152David Griffin's snow

applet, 158defined, 65defining, 51–53download resources, 419Dreamweaver develop-

ment resources, 416Dreamweaver extensions,

417–418Dynamic HTML

(DHTML) resources, 417editing, 362Fireworks MX (down-

load), 111Freescripts, 333General Web development

resources, 416–417head, 81importing existing, 362Java Script, 418Macromedia, 7

Dreamweaver demo, 7Dreamweaver

Exchange, 145, 426

Dreamweaver SupportCenter, 66

templates, 390Matt’s Form Mail Script,

335Matt’s Script Archive, 333Microsoft Internet

Explorer, 47, 49Netscape Navigator, 47, 49organizations, 420organization, 61–62

with named anchors,73–75

preview of, 273prototypes, 59Server Side Scripting, 418South Park sounds, 152transfer methods, 350–351usability resources, 419viewing, 48Verisign, 338

Web site management,358–359

window name attribute, 271windows

Document window, 24, 25context menus, 29drop-down menus, 26,

27, 28, 29

inspectors, 22invisible objects, 29,

30panels, 10, 18, 22,

23status bar, 19, 21, 22toolbar, 18, 19

opening, 271–273a new browser window,

271–272Windows Media Player,

439Windows menu, 28Windows NT, 335Windows OS palette, 439Word wrap, 83, 440workspace

changing between, 8defined, 440

Wrap Tag mode, 88WYSIWYG, 6, 440

Z

z-index, 238, 440z-index property, 233

z-index property 461