You are previewing Dreamweaver 8: The Missing Manual.
O'Reilly logo
Dreamweaver 8: The Missing Manual

Book Description

Available for both the Mac and Windows, Macromedia's Dreamweaver 8 is a professional web design and development program used by millions of Internet professionals to build high-quality static and dynamic database-driven web sites. It offers drag-and-drop simplicity, streamlined HTML coding tools, and powerful database integration features. But Dreamweaver 8 is missing one vital component: a printed manual.

Enter Dreamweaver 8: The Missing Manual, the completely revised fourth edition of this bestselling book by experienced web site trainer, Macromedia Certified instructor, and Dreamweaver Advisory Council member David McFarland. This book enables both first-time and experienced web designers to create visually stunning and highly interactive web sites.

With crystal-clear writing and much welcome humor, this new edition offers features such as:

  • Live examples: With McFarland's step-by-step annotated tutorials, you'll learn how to construct a state-of-the-art commercial web site, complete with working forms, Cascading Style Sheets (CSS), and dynamic databases.

  • Tricks of the trade: The book is bursting with undocumented workarounds and shortcuts for easing the process of building, maintaining, and updating professional web sites.

  • Design guidance: You'll learn to create virtually every modern web feature, including forms, animations, cascading menus, and more--and you'll find out which browsers you need to provide special coding or do extra testing with.

No matter what your level of expertise is, you'll also learn how to manage your entire web site-whether you've just launched or if it's been around for awhile and takes up thousands of pages. Beginners with no web design experience will appreciate the step-by-step guide to designing, organizing, building, and deploying a web site; long-time Dreamweaver users will appreciate the advanced, real-world techniques for controlling the appearance of their web pages with CSS.

With more than 500 illustrations, a handcrafted index, and the clarity of thought that has made bestsellers of every Missing Manual to date, this is the ultimate atlas for the complex and powerful Dreamweaver 8.

Table of Contents

  1. Dreamweaver 8: The Missing Manual
    1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
    2. A Note Regarding Supplemental Files
    3. The Missing Credits
      1. About the Author
      2. About the Creative Team
      3. Acknowledgements
      4. The Missing Manual Series
    4. Introduction
      1. What's New in Dreamweaver 8
      2. HTML, XHTML, and CSS 101
        1. Of Tags and Properties
        2. XHTML, Too
        3. Adding Style with Cascading Style Sheets
      3. The Very Basics
      4. About This Book
        1. About → These → Arrows
        2. Macintosh and Windows
        3. About the Outline
        4. Living Examples
        5. About MissingManuals.com
        6. Safari® Enabled
    5. I. Building a Web Page
      1. 1. Dreamweaver 8 Guided Tour
        1. 1.1. Welcome to Dreamweaver 8
          1. 1.1.1. What Dreamweaver Is All About
          2. 1.1.2. Why Dreamweaver?
        2. 1.2. The Dreamweaver 8 Interface
          1. 1.2.1. The Document Window
          2. 1.2.2. The Insert Bar
          3. 1.2.3. The Property Inspector
          4. 1.2.4. Panel Groups
          5. 1.2.5. Workspace Layouts
        3. 1.3. The Dreamweaver Test Drive
          1. 1.3.1. Phase 1: Getting Dreamweaver in Shape
          2. 1.3.2. Phase 2: Creating a Web Site
          3. 1.3.3. Phase 3: Creating and Saving a Web Page
          4. 1.3.4. Phase 4: Adding Images and Text
          5. 1.3.5. Phase 5: Preview Your Work
          6. 1.3.6. Phase 6: Finishing the Page
      2. 2. Adding Text to Your Web Pages
        1. 2.1. Adding Text in Dreamweaver
          1. 2.1.1. Adding Special Characters
          2. 2.1.2. Line Breaks
          3. 2.1.3. Nonbreaking Spaces
          4. 2.1.4. Adding a Date to Your Page
        2. 2.2. Copying and Pasting Text
          1. 2.2.1. Simple Copy and Paste
          2. 2.2.2. Paste Special
          3. 2.2.3. Pasting Text from Word: The Basic Method
          4. 2.2.4. Pasting Text with Word Formatting
          5. 2.2.5. Pasting Excel Spreadsheet Information
          6. 2.2.6. Importing Word and Excel Documents (Windows)
        3. 2.3. Selecting Text
        4. 2.4. Spell Checking
          1. 2.4.1. About Dictionaries
          2. 2.4.2. Performing the Check
        5. 2.5. Undo, Redo, and the History Panel
          1. 2.5.1. Undo
          2. 2.5.2. History Panel
      3. 3. Text Formatting
        1. 3.1. Paragraph Formatting
          1. 3.1.1. Paragraphs
          2. 3.1.2. Headlines
          3. 3.1.3. Preformatted Text
          4. 3.1.4. Paragraph Alignment
          5. 3.1.5. Indented Paragraphs
        2. 3.2. Lists
          1. 3.2.1. Bulleted and Numbered Lists
            1. 3.2.1.1. Creating a new bulleted or numbered list
            2. 3.2.1.2. Formatting existing text as a list
          2. 3.2.2. Reformatting Bulleted and Numbered Lists
            1. 3.2.2.1. Adding new items to a list
            2. 3.2.2.2. Changing bullets and numbers
            3. 3.2.2.3. Nested lists
          3. 3.2.3. Definition Lists
          4. 3.2.4. Removing and Deleting List Items
            1. 3.2.4.1. Removing list items
            2. 3.2.4.2. Deleting list items
        3. 3.3. Character Formatting
          1. 3.3.1. Text Styles
          2. 3.3.2. Fonts
            1. 3.3.2.1. Applying font formatting
            2. 3.3.2.2. Creating custom font lists
          3. 3.3.3. Font Size
          4. 3.3.4. Font Color
          5. 3.3.5. Character Formatting Behind the Scenes
          6. 3.3.6. Character Formatting Styles
            1. 3.3.6.1. Applying styles
            2. 3.3.6.2. Removing styles
            3. 3.3.6.3. Renaming styles
            4. 3.3.6.4. Editing styles
      4. 4. Links
        1. 4.1. Understanding Links
          1. 4.1.1. Absolute Links
          2. 4.1.2. Document-Relative Links
          3. 4.1.3. Root-Relative Links
          4. 4.1.4. Link Types in Action
            1. 4.1.4.1. Link from the Home page (index.html) to the Contact Us page (contact.html)
            2. 4.1.4.2. Link from the Horoscopes page to the Pisces page
            3. 4.1.4.3. Link from the Scorpio page to the Horoscopes page
          5. 4.1.5. Executive Summary
        2. 4.2. Adding a Link
          1. 4.2.1. Browsing for a File
          2. 4.2.2. Using the Point-to-File Icon
          3. 4.2.3. Typing (or Pasting) the URL or Path
          4. 4.2.4. Using the Hyperlink Object
        3. 4.3. Adding an Email Link
        4. 4.4. Linking Within a Web Page
          1. 4.4.1. Phase 1: Creating a Named Anchor
          2. 4.4.2. Phase 2: Linking to an Anchor
          3. 4.4.3. Viewing and Hiding Anchors
        5. 4.5. Modifying a Link
          1. 4.5.1. Changing a Link's Destination
          2. 4.5.2. Removing a Link
      5. 5. Images
        1. 5.1. Adding Images
          1. 5.1.1. Adding an Image Placeholder
        2. 5.2. Modifying an Image
          1. 5.2.1. Naming an Image
          2. 5.2.2. Adding a Text Description to an Image
          3. 5.2.3. Changing the Size of an Image
          4. 5.2.4. Aligning an Image
          5. 5.2.5. Some Properties to Avoid
        3. 5.3. Editing Graphics
          1. 5.3.1. The Built-In Editing Tools
            1. 5.3.1.1. Cropping an image
            2. 5.3.1.2. Resampling an image
            3. 5.3.1.3. Brightness and Contrast
            4. 5.3.1.4. Sharpening images
          2. 5.3.2. Setting Up an External Editor
          3. 5.3.3. Editing Images with Fireworks
          4. 5.3.4. Optimizing an Image with Fireworks
        4. 5.4. Image Maps
          1. 5.4.1. Editing a Hotspot's Properties
        5. 5.5. Rollover Images
        6. 5.6. Flash Buttons
          1. 5.6.1. A Warning about Flash
          2. 5.6.2. Adding a Flash Button to a Web Page
          3. 5.6.3. Editing Flash buttons
          4. 5.6.4. Previewing Flash Buttons
        7. 5.7. Flash Text
          1. 5.7.1. Adding Flash Text to a Web Page
            1. 5.7.1.1. Editing Flash text
            2. 5.7.1.2. Resizing Flash text
        8. 5.8. Tutorial: Adding Rollover Images
    6. II. Building a Better Web Page
      1. 6. Cascading Style Sheets
        1. 6.1. Cascading Style Sheet Basics
          1. 6.1.1. Why Use CSS?
          2. 6.1.2. Internal vs. External Style Sheets
          3. 6.1.3. Types of Styles
        2. 6.2. Creating Styles
          1. 6.2.1. Phase 1: Set Up the CSS Type
          2. 6.2.2. Phase 2: Defining the Style
        3. 6.3. Using Styles
          1. 6.3.1. Linking to an External Style Sheet
          2. 6.3.2. Applying a Class Style
          3. 6.3.3. Un-Applying a Class Style
        4. 6.4. Manipulating Styles
          1. 6.4.1. Editing Styles
          2. 6.4.2. Editing Styles with the Properties Pane
          3. 6.4.3. Deleting a Style
          4. 6.4.4. Renaming a Class Style
          5. 6.4.5. Duplicating a Style
        5. 6.5. More about Styles
          1. 6.5.1. Inheritance
          2. 6.5.2. Cascading
          3. 6.5.3. The Other Side of the CSS Style Panel
        6. 6.6. Advanced Styles
          1. 6.6.1. Pseudo-Classes
          2. 6.6.2. IDs
          3. 6.6.3. Contextual Selectors (a.k.a. Descendent Selectors)
            1. 6.6.3.1. Creating the "context"
            2. 6.6.3.2. Creating contextual selectors
        7. 6.7. Style Properties
          1. 6.7.1. Type Properties
          2. 6.7.2. Background Properties
            1. 6.7.2.1. Background color
            2. 6.7.2.2. Background image
            3. 6.7.2.3. Background repeat
            4. 6.7.2.4. Background attachment
            5. 6.7.2.5. Horizontal and vertical position
          3. 6.7.3. Block Properties
          4. 6.7.4. Box Properties
            1. 6.7.4.1. CSS Layout Box Model
          5. 6.7.5. Border Properties
          6. 6.7.6. List Properties
          7. 6.7.7. Positioning Properties
          8. 6.7.8. Extensions
        8. 6.8. Cascading Style Sheets Tutorial
          1. 6.8.1. Setting Up
          2. 6.8.2. Creating an External Style Sheet
          3. 6.8.3. Editing a Style
          4. 6.8.4. Creating a Class Style
          5. 6.8.5. Formatting Images
          6. 6.8.6. Creating Contextual Selectors
          7. 6.8.7. Attaching an External Style Sheet
      2. 7. Page Layout 101
        1. 7.1. Using Guides to Align Page Elements
          1. 7.1.1. Checking the Fold
        2. 7.2. Table Basics
        3. 7.3. Layout Mode
          1. 7.3.1. How to Draw a Table in Layout Mode
          2. 7.3.2. Layout Table Properties
            1. 7.3.2.1. Table dimensions
            2. 7.3.2.2. Background color
            3. 7.3.2.3. Cell padding and cell spacing
          3. 7.3.3. How to Draw a Layout Cell
          4. 7.3.4. Layout Cell Properties
            1. 7.3.4.1. Alignment
          5. 7.3.5. Moving and Resizing Layout Cells and Layout Tables
          6. 7.3.6. Building Flexible Page Layouts in Layout Mode
            1. 7.3.6.1. Creating a flexible-width table
            2. 7.3.6.2. Adding spacer images
            3. 7.3.6.3. Removing spacer images
          7. 7.3.7. Using a Tracing Image
            1. 7.3.7.1. Hiding a tracing image
            2. 7.3.7.2. Moving a tracing image
        4. 7.4. Inserting a Table in Standard View
        5. 7.5. Selecting Parts of a Table in Standard View
          1. 7.5.1. Selecting a Table
          2. 7.5.2. Selecting Rows or Columns
          3. 7.5.3. Selecting Cells
        6. 7.6. Expanded Table Mode
        7. 7.7. Formatting Tables
          1. 7.7.1. Aligning Tables
          2. 7.7.2. Clearing Height and Width Values
          3. 7.7.3. Decorating a Table
          4. 7.7.4. Resizing a Table
        8. 7.8. Modifying Cell and Row Properties in Standard View
          1. 7.8.1. Alignment Properties
          2. 7.8.2. Table Header
          3. 7.8.3. A Property to Forget
          4. 7.8.4. Cell Decoration
            1. 7.8.4.1. Adding cell background colors
            2. 7.8.4.2. Adding cell background images
          5. 7.8.5. Setting Cell Dimensions
          6. 7.8.6. Tips for Surviving Table Making
            1. 7.8.6.1. The contents take priority
            2. 7.8.6.2. There's no such thing as column width, only cell width
            3. 7.8.6.3. Do the math
          7. 7.8.7. Spacer Image Revisited
        9. 7.9. Adding and Removing Cells
          1. 7.9.1. Adding One Row or Column
          2. 7.9.2. Adding Multiple Rows or Columns
          3. 7.9.3. Deleting Rows and Columns
        10. 7.10. Merging and Splitting Cells
        11. 7.11. Nesting Tables in Standard View
        12. 7.12. Tabular Data
          1. 7.12.1. Importing Data into a Table
          2. 7.12.2. Sorting Data in a Table
          3. 7.12.3. Exporting Table Data
        13. 7.13. Tables Tutorial
          1. 7.13.1. Getting Started
          2. 7.13.2. Creating a New Page and Setting Its Properties
          3. 7.13.3. Using a Tracing Image and Guides
          4. 7.13.4. Building the Banner in Layout Mode
          5. 7.13.5. Improving the Banner
          6. 7.13.6. Building the Content Table
          7. 7.13.7. Using CSS to Control Table Cells
          8. 7.13.8. Using the Table Object
      3. 8. Advanced Page Layout
        1. 8.1. Introducing CSS Layout
        2. 8.2. The Basics
        3. 8.3. Creating CSS Styles for Layers
          1. 8.3.1. The CSS Positioning Properties
            1. 8.3.1.1. Positioning type
            2. 8.3.1.2. Width and Height
            3. 8.3.1.3. Visibility
            4. 8.3.1.4. Z-Index
            5. 8.3.1.5. Overflow
            6. 8.3.1.6. Placement
            7. 8.3.1.7. Clip
        4. 8.4. Applying the Layer Style
        5. 8.5. Drawing with the Layer Tool
        6. 8.6. The Layers Panel
        7. 8.7. Modifying Layer Properties
          1. 8.7.1. Resizing Layers
          2. 8.7.2. Moving Layers
          3. 8.7.3. Aligning Layers
          4. 8.7.4. Background Image and Color
        8. 8.8. Nesting Layers
        9. 8.9. CSS Layout Tutorial
          1. 8.9.1. Getting Started
          2. 8.9.2. Adding a Banner Layer
          3. 8.9.3. Creating the Sidebar
          4. 8.9.4. Positioning the Main Content
          5. 8.9.5. Fine-Tuning the Design
      4. 9. Under the Hood: HTML
        1. 9.1. Roundtrip HTML
          1. 9.1.1. Auto-Fixing Your Code
          2. 9.1.2. Web Application Server Pages
          3. 9.1.3. Special Characters and Encoding
        2. 9.2. Code View
          1. 9.2.1. Coding Toolbar
          2. 9.2.2. Code Hints
          3. 9.2.3. Code Collapse
          4. 9.2.4. Setting Code Formatting
            1. 9.2.4.1. Indents
            2. 9.2.4.2. Text wrapping
            3. 9.2.4.3. Line breaks
            4. 9.2.4.4. Case for tags and attributes
            5. 9.2.4.5. No break after TD
            6. 9.2.4.6. Centering
        3. 9.3. Quick Tag Editor
          1. 9.3.1. Using the Quick Tag Editor
        4. 9.4. Tag Inspector
        5. 9.5. Comparing Versions of a Web Page
          1. 9.5.1. Using WinMerge to Compare Files
          2. 9.5.2. Using Text Wrangler to Compare Files
        6. 9.6. Reference Panel
        7. 9.7. Inserting JavaScript
    7. III. Bringing Your Pages to Life
      1. 10. Forms
        1. 10.1. Form Basics
          1. 10.1.1. The Code Backstage
        2. 10.2. Creating a Form
        3. 10.3. Adding Form Elements
          1. 10.3.1. What All Form Elements Have in Common
          2. 10.3.2. Text Fields
          3. 10.3.3. Checkboxes
          4. 10.3.4. Radio Buttons and Radio Groups
            1. 10.3.4.1. Radio Group
          5. 10.3.5. Pull-Down Menus and Lists
          6. 10.3.6. File Field
          7. 10.3.7. Hidden Field
          8. 10.3.8. Buttons
          9. 10.3.9. Label Tag
          10. 10.3.10. Fieldset Tag
        4. 10.4. Validating Forms
        5. 10.5. Forms Tutorial
          1. 10.5.1. Getting Started
          2. 10.5.2. Inserting a Form and Creating a Structure
          3. 10.5.3. Adding Labels and Form Elements
          4. 10.5.4. Adding a Menu and Submit Button
          5. 10.5.5. Styling the Form
          6. 10.5.6. Validating the Form
      2. 11. Dreamweaver Behaviors
        1. 11.1. Understanding Behaviors
          1. 11.1.1. Behavior Elements
          2. 11.1.2. More about Events
        2. 11.2. Applying Behaviors
          1. 11.2.1. The Behaviors Panel
          2. 11.2.2. Applying Behaviors, Step by Step
          3. 11.2.3. Adding Multiple Behaviors
          4. 11.2.4. Editing Behaviors
          5. 11.2.5. A Quick Example
        3. 11.3. Events
          1. 11.3.1. Mouse Events
          2. 11.3.2. Keyboard Events
          3. 11.3.3. Body and Frameset Events
          4. 11.3.4. Selection and Highlighting Events
          5. 11.3.5. Form Events
        4. 11.4. The Actions, One by One
          1. 11.4.1. Navigation Actions
            1. 11.4.1.1. Pop-Up Menu
            2. 11.4.1.2. Open Browser Window
            3. 11.4.1.3. Go to URL
            4. 11.4.1.4. Jump Menu and Jump Menu Go
            5. 11.4.1.5. Check Browser
          2. 11.4.2. Image Actions
            1. 11.4.2.1. Preload Images
            2. 11.4.2.2. Swap Image
            3. 11.4.2.3. Swap Image Restore
            4. 11.4.2.4. Set Navigation Bar Image
          3. 11.4.3. Message Behaviors
            1. 11.4.3.1. Popup Message
            2. 11.4.3.2. Set Text of Status Bar
            3. 11.4.3.3. Set Text of Text Field
            4. 11.4.3.4. Set Text of Layer
            5. 11.4.3.5. Text of Frame
          4. 11.4.4. Multimedia Actions
            1. 11.4.4.1. Control Shockwave or Flash
            2. 11.4.4.2. Play Sound
            3. 11.4.4.3. Check Plugin
          5. 11.4.5. Layer Actions
            1. 11.4.5.1. Show-Hide Layers
            2. 11.4.5.2. Draggable and Animated Layers
          6. 11.4.6. Advanced Actions
            1. 11.4.6.1. Call JavaScript
            2. 11.4.6.2. Change Property
        5. 11.5. Creating an External JavaScript Library
        6. 11.6. Adding More Behaviors
      3. 12. Flash, Shockwave, and Other Multimedia
        1. 12.1. Flash
          1. 12.1.1. Inserting a Flash Movie
          2. 12.1.2. Flash Movie Properties
            1. 12.1.2.1. Naming a Flash movie
            2. 12.1.2.2. The movie file
            3. 12.1.2.3. Src property
            4. 12.1.2.4. Movie size
            5. 12.1.2.5. Play options
            6. 12.1.2.6. Margins
            7. 12.1.2.7. Quality settings
            8. 12.1.2.8. Scaling
            9. 12.1.2.9. Alignment
            10. 12.1.2.10. Background color
        2. 12.2. Flash Elements
          1. 12.2.1. Image Viewer Properties
            1. 12.2.1.1. General Image Viewer properties
            2. 12.2.1.2. Image options
            3. 12.2.1.3. Playback options
        3. 12.3. Flash Video
        4. 12.4. FlashPaper
        5. 12.5. Shockwave
          1. 12.5.1. Shockwave Movie Properties
        6. 12.6. Other Multimedia Controls
    8. IV. Building a Web Site
      1. 13. Introducing Site Management
        1. 13.1. Structuring a Web Site
          1. 13.1.1. Defining a Site
            1. 13.1.1.1. Site name
            2. 13.1.1.2. Local root folder
            3. 13.1.1.3. Default images folder
            4. 13.1.1.4. Links relative to
            5. 13.1.1.5. HTTP address
            6. 13.1.1.6. Case-sensitive links
            7. 13.1.1.7. Cache
          2. 13.1.2. Editing or Removing Defined Sites
          3. 13.1.3. Exporting and Importing Sites
          4. 13.1.4. Organizing Site Files
          5. 13.1.5. Adding New Folders and Files
            1. 13.1.5.1. Adding files
            2. 13.1.5.2. Adding folders
            3. 13.1.5.3. Moving files and folders
            4. 13.1.5.4. Renaming files and folders
            5. 13.1.5.5. Deleting files and folders
        2. 13.2. Viewing a Site Map
          1. 13.2.1. Setting Up Site Map View
          2. 13.2.2. Viewing and Customizing Site Map View
            1. 13.2.2.1. Identifying pages in the Site Map
            2. 13.2.2.2. Viewing just part of a Web site
            3. 13.2.2.3. Hiding extraneous links
          3. 13.2.3. Renaming Pages in the Site Map
        3. 13.3. Site Assets
          1. 13.3.1. Viewing the Assets Panel
          2. 13.3.2. Inserting Assets
            1. 13.3.2.1. Adding color and link assets
          3. 13.3.3. Favorite Assets
            1. 13.3.3.1. Identifying your Favorites
            2. 13.3.3.2. Using your Favorites
            3. 13.3.3.3. Removing Favorites
            4. 13.3.3.4. Organizing Favorite assets
      2. 14. Testing Your Site
        1. 14.1. Site Launch Checklist
        2. 14.2. Check Browser Support
          1. 14.2.1. Editing the List of Browsers to Check Against
        3. 14.3. Validating Web Pages
          1. 14.3.1. Steps for Validating Web Pages
          2. 14.3.2. Common Validation Errors
        4. 14.4. Find and Fix Broken Links
          1. 14.4.1. Finding Broken Links
            1. 14.4.1.1. Checking just one page
            2. 14.4.1.2. Checking specific pages
            3. 14.4.1.3. Checking the entire Web site
          2. 14.4.2. Fixing Broken Links
          3. 14.4.3. Listing External Links
          4. 14.4.4. Orphaned Files
          5. 14.4.5. Changing a Link Throughout a Site
        5. 14.5. Cleaning Up HTML (and XHTML)
        6. 14.6. Site Reporting
        7. 14.7. Accessibility
          1. 14.7.1. Accessibility Priorities
          2. 14.7.2. Accessibility Options
        8. 14.8. Download Statistics
      3. 15. Moving Your Site to the Internet
        1. 15.1. Defining a Remote Site
          1. 15.1.1. Setting Up a Remote Site with FTP
          2. 15.1.2. Setting Up a Remote Site over a Local Network
          3. 15.1.3. Setting Up a Remote Site with RDS
          4. 15.1.4. Setting Up a Remote Site with WebDAV
          5. 15.1.5. Setting Up a Remote Site with SourceSafe
        2. 15.2. Transferring Files
          1. 15.2.1. Moving Files to the Web Server
            1. 15.2.1.1. Other ways to move files to the Web server
          2. 15.2.2. Getting Files from the Web Server
          3. 15.2.3. Cloaking Files
        3. 15.3. Check In and Check Out
          1. 15.3.1. Checking Out Files
          2. 15.3.2. Checking In Files
          3. 15.3.3. Generating a Report on Checked-Out Files
        4. 15.4. Synchronizing Site Files
        5. 15.5. Communicating with Design Notes
          1. 15.5.1. Setting Up Design Notes
          2. 15.5.2. Adding Design Notes to a File
          3. 15.5.3. Viewing Design Notes
          4. 15.5.4. Organizing the Columns in the Files Panel
          5. 15.5.5. "All Info" Design Notes in Column Views
            1. 15.5.5.1. Phase 1: Defining the new information types
            2. 15.5.5.2. Phase 2: Adding the column
    9. V. Dreamweaver Power
      1. 16. Snippets and Libraries
        1. 16.1. Snippets Basics
        2. 16.2. Using Snippets
        3. 16.3. Creating Snippets
          1. 16.3.1. Organizing Snippets
        4. 16.4. Built-in Snippets
        5. 16.5. Library Basics
        6. 16.6. Creating and Using Library Items
          1. 16.6.1. Adding Library Items to a Page
        7. 16.7. Editing Library Items
          1. 16.7.1. Renaming Library Elements
          2. 16.7.2. Deleting Library Elements
        8. 16.8. Snippets and Library Tutorial
          1. 16.8.1. Creating a Snippet
          2. 16.8.2. Creating a Library Item
      2. 17. Templates
        1. 17.1. Template Basics
        2. 17.2. Creating a Template
          1. 17.2.1. Turning a Web Page into a Template
          2. 17.2.2. Building a Template from Scratch
        3. 17.3. Defining Editable Regions
          1. 17.3.1. Adding a Basic Editable Region
          2. 17.3.2. Adding a Repeating Region
          3. 17.3.3. Repeating Tables
          4. 17.3.4. Making a Tag Attribute Editable
        4. 17.4. Adding Optional Regions
          1. 17.4.1. Locking Optional Regions
          2. 17.4.2. Repeating Optional Regions
          3. 17.4.3. Optional Editable Regions
          4. 17.4.4. Advanced Optional Regions
            1. 17.4.4.1. Even fancier tricks
            2. 17.4.4.2. Controlling regions with expressions
          5. 17.4.5. Editing and Removing Optional Regions
        5. 17.5. Nested Templates
          1. 17.5.1. Customizing Nested Templates
          2. 17.5.2. Using Nested Templates
        6. 17.6. Building Pages Based on a Template
          1. 17.6.1. Working with Repeating Regions
          2. 17.6.2. Changing Properties of Editable Tag Attributes
          3. 17.6.3. Hiding and Showing Optional Regions
          4. 17.6.4. Applying a Template to a Page You Already Made
        7. 17.7. Updating a Template
          1. 17.7.1. Updating Nested Templates
          2. 17.7.2. Unlinking a Page from a Template
          3. 17.7.3. Exporting a Template-Based Site
        8. 17.8. Template Tutorial
          1. 17.8.1. Creating a Template
          2. 17.8.2. Creating a Page Based on a Template
          3. 17.8.3. Updating a Template
      3. 18. Automating Dreamweaver
        1. 18.1. The History Panel Revisited
          1. 18.1.1. Replay Your Steps
          2. 18.1.2. Exceptions and Errors
          3. 18.1.3. Copying and Pasting Actions
          4. 18.1.4. Save Steps as Commands
          5. 18.1.5. Recording Commands
        2. 18.2. Creating a Web Photo Album
        3. 18.3. Find and Replace
          1. 18.3.1. Find and Replace Basics
          2. 18.3.2. Basic Text and HTML Searches
            1. 18.3.2.1. Phase 1: Determine the scope of your search
            2. 18.3.2.2. Phase 2: Specify what to search for
            3. 18.3.2.3. Phase 3: Provide the replacement text
            4. 18.3.2.4. Phase 4: Choose the search settings
            5. 18.3.2.5. Phase 5: Take action
          3. 18.3.3. Advanced Text Searches
            1. 18.3.3.1. Limiting the search by tag
            2. 18.3.3.2. Limiting the search by attribute
          4. 18.3.4. Advanced Tag Searches
          5. 18.3.5. A Powerful Example: Adding Alt Text Fast
      4. 19. Customizing Dreamweaver
        1. 19.1. Keyboard Shortcuts
          1. 19.1.1. Make Your Own Shortcut Set
          2. 19.1.2. Changing Keyboard Shortcuts
          3. 19.1.3. Create a Shortcut Cheat Sheet
        2. 19.2. Dreamweaver Extensions
          1. 19.2.1. Browse the Exchange
          2. 19.2.2. Find a Good Extension
          3. 19.2.3. Other Extension Sources
          4. 19.2.4. Download and Install Extensions
          5. 19.2.5. Extension Manager
          6. 19.2.6. Make Your Own Extensions
    10. VI. Dynamic Dreamweaver
      1. 20. Getting Started with Dynamic Web Sites
        1. 20.1. Pieces of the Puzzle
          1. 20.1.1. Understanding Server Models
            1. 20.1.1.1. ASP
            2. 20.1.1.2. .NET
            3. 20.1.1.3. ColdFusion
            4. 20.1.1.4. JSP
            5. 20.1.1.5. PHP
          2. 20.1.2. Picking a Server Model
        2. 20.2. Dynamic Web Sites: The Setup
          1. 20.2.1. Setting Up a Testing Server
          2. 20.2.2. Setting Up Dreamweaver
        3. 20.3. Databases: A Quick Introduction
          1. 20.3.1. Tables and Records
          2. 20.3.2. Relational Databases
        4. 20.4. Creating a Dynamic Page
        5. 20.5. Connecting to a Database
          1. 20.5.1. Exploring the Databases Panel
      2. 21. Adding Dynamic Data to Your Pages
        1. 21.1. Retrieving Information
          1. 21.1.1. Understanding Recordsets
          2. 21.1.2. Creating Recordsets
          3. 21.1.3. Filtering Information
          4. 21.1.4. Comparison Operators for Filters
            1. 21.1.4.1. Comparing text values
            2. 21.1.4.2. Comparing numbers
          5. 21.1.5. Getting Comparison Values
            1. 21.1.5.1. Form variables
            2. 21.1.5.2. URL parameters
            3. 21.1.5.3. Creating a link with a URL parameter
            4. 21.1.5.4. Creating the recordset for the Results page
          6. 21.1.6. Advanced Recordsets and SQL
            1. 21.1.6.1. SQL: The very basics
            2. 21.1.6.2. Using the Data Tree view
            3. 21.1.6.3. Creating variables for filtering data
          7. 21.1.7. Reusing Recordsets
          8. 21.1.8. Editing Recordsets
          9. 21.1.9. Deleting Recordsets
        2. 21.2. Adding Dynamic Information
          1. 21.2.1. The Bindings Panel
          2. 21.2.2. Formatting Dynamic Information
          3. 21.2.3. Deleting Dynamic Information
        3. 21.3. Displaying Multiple Records
          1. 21.3.1. Creating a Repeating Table
          2. 21.3.2. Creating a Repeat Region
          3. 21.3.3. Editing and Removing a Repeat Region
        4. 21.4. Recordset Navigation
          1. 21.4.1. Recordset Navigation Bar
          2. 21.4.2. Recordset Navigation Status
        5. 21.5. Viewing Live Data
          1. 21.5.1. Live Data View Settings
        6. 21.6. Master Detail Page Set
        7. 21.7. Passing Information Between Pages
          1. 21.7.1. Go To Detail Page
          2. 21.7.2. Go To Related Page
        8. 21.8. Tutorial: Displaying Database Info
          1. 21.8.1. Creating a Recordset
          2. 21.8.2. Formatting Dynamic Information
          3. 21.8.3. Live Data View and Creating Repeating Regions
          4. 21.8.4. Editing a Recordset and Linking to a Detail Page
          5. 21.8.5. Building the Detailed Product Page
          6. 21.8.6. Filling in the Details
          7. 21.8.7. Operators Standing By
      3. 22. Web Pages that Manipulate Database Records
        1. 22.1. Adding Data
          1. 22.1.1. Dreamweaver's Record Insertion Form Wizard
          2. 22.1.2. Using the Insert Record Behavior
        2. 22.2. Updating Database Records
          1. 22.2.1. The Update Record Form Wizard
          2. 22.2.2. The Update Record Server Behavior
        3. 22.3. Dynamic Form Fields
          1. 22.3.1. Dynamic Text Form Fields
          2. 22.3.2. Dynamic Checkboxes and Radio Buttons
            1. 22.3.2.1. Dynamic radio buttons
            2. 22.3.2.2. Dynamic checkboxes
          3. 22.3.3. Dynamic Menus and Lists
        4. 22.4. Deleting Records
          1. 22.4.1. Deleting Records for ASP and JSP
          2. 22.4.2. Deleting Records for PHP, ASP.NET, and ColdFusion
        5. 22.5. Tutorial: Inserting and Updating Data
          1. 22.5.1. Adding an Insert Product Page
          2. 22.5.2. Finishing the Insert Form
          3. 22.5.3. Building a Page for Editing Database Records
            1. 22.5.3.1. Linking to the update page
            2. 22.5.3.2. Creating the update page
          4. 22.5.4. Creating and Linking to the Delete Page
            1. 22.5.4.1. Adding a link on the details page
            2. 22.5.4.2. Creating the delete page
      4. 23. Advanced Dynamic Site Features
        1. 23.1. Password-Protecting Web Pages
          1. 23.1.1. The Users Table
          2. 23.1.2. Creating a Registration Form
          3. 23.1.3. Creating the Login Page
          4. 23.1.4. The Log Out User Behavior
          5. 23.1.5. Protecting Individual Pages
        2. 23.2. Additional Data Sources
          1. 23.2.1. For ASP
          2. 23.2.2. For PHP and ColdFusion
          3. 23.2.3. For JSP
          4. 23.2.4. URL Variables
          5. 23.2.5. Form Variables
          6. 23.2.6. Cookies
          7. 23.2.7. Session Variables
          8. 23.2.8. Server Variables
        3. 23.3. Advanced Server Behaviors
          1. 23.3.1. Recordset Paging
          2. 23.3.2. Show Region Server Behaviors
        4. 23.4. Tutorial: Authentication
          1. 23.4.1. Building a Login Page
          2. 23.4.2. Password-Protecting the Administration Pages
          3. 23.4.3. Displaying a Portion of a Page to Logged-In Users
      5. 24. XML and XSLT
        1. 24.1. What Is XML?
          1. 24.1.1. Rules of the Road
          2. 24.1.2. XSLT and XPath
        2. 24.2. Building a Static Page from an XML File
        3. 24.3. Creating Dynamic Pages with XSLT and XML
        4. 24.4. Inserting and Formatting XML
          1. 24.4.1. Inserting a Repeat Region
            1. 24.4.1.1. Building a repeat-region filter
          2. 24.4.2. Inserting a Conditional Region
          3. 24.4.3. Using Multiple Conditional Regions
        5. 24.5. Advanced XSLT Tricks
          1. 24.5.1. Sorting Data in a Repeat Region
          2. 24.5.2. Using XSLT Parameters
        6. 24.6. XML and XSLT Tutorial
          1. 24.6.1. Adding a Repeat Region and a Link
          2. 24.6.2. Adding the XSLT Fragment to a Dynamic Page
    11. VII. Appendixes
      1. A. Getting Help
        1. A.1. Getting Help from Dreamweaver
        2. A.2. What's New
          1. A.2.1. Getting Started
          2. A.2.2. Detailed Assistance
        3. A.3. Getting Help from Macromedia
          1. A.3.1. Free Help by Email
          2. A.3.2. Paid Support
          3. A.3.3. Macromedia Web Site
          4. A.3.4. Online Documentation
          5. A.3.5. The Forums
        4. A.4. Help from the Real World
          1. A.4.1. DMX Zone
          2. A.4.2. Community MX
        5. A.5. Help Creating Your Own Extensions
      2. B. Dreamweaver 8, Menu by Menu
        1. B.1. File Menu
        2. B.2. Edit Menu
        3. B.3. View Menu
        4. B.4. Insert Menu
        5. B.5. Modify Menu
        6. B.6. Text Menu
        7. B.7. Commands Menu
        8. B.8. Site Menu
        9. B.9. Window Menu
        10. B.10. Help Menu
    12. Index
    13. About the Author
    14. Colophon
    15. SPECIAL OFFER: Upgrade this ebook with O’Reilly