Dreamviewer
Dreamviewer
Dreamviewer
Macromedia
Dreamweaver MX
in
Betsy Bruce
24
Hours
ACQUISITIONS EDITORS
DEVELOPMENT EDITOR
All rights reserved. No part of this book shall be reproduced, stored in a retrieval
system, or transmitted by any means, electronic, mechanical, photocopying,
recording, or otherwise, without written permission from the publisher. No patent
liability is assumed with respect to the use of the information contained herein.
Although every precaution has been taken in the preparation of this book, the
publisher 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
04
03
02
Damon Jordan
MANAGING EDITOR
Charlotte Clapp
PROJECT EDITOR
Matthew Purcell
COPY EDITOR
Michael Kopp
Trish Barker
Arlene Brown
(Publication Services, Inc.)
PRODUCTION EDITOR
Jennifer Land
(Publication Services, Inc.)
Betsy Brown
Jeff Schultz
Trademarks
All terms mentioned in this book that are known to be trademarks or service
marks have been appropriately capitalized. Sams Publishing cannot attest to the
accuracy of this information. Use of a term in this book should not be regarded
as affecting the validity of any trademark or servicemark.
INDEXER
Jessica Matthews
Meg Griffin
(Publication Services, Inc.)
PROOFREADER
Phil Hamer
Jennifer Putman
(Publication Services, Inc.)
TECHNICAL EDITOR
Robyn Ness
TEAM COORDINATOR
Amy Patton
INTERIOR DESIGNER
Gary Adair
COVER DESIGNER
Alan Clements
PAGE LAYOUT
Lisa Connery
Jennifer Faaborg
Steven M. Sansone
Michael Tarleton
James T. Torbit
(Publication Services, Inc.)
GRAPHICS
Oliver Jackson
Tammy Graham
Contents at a Glance
Introduction
3
5
35
51
65
79
97
99
111
131
143
163
10
177
179
12
195
13
211
229
231
245
16
263
17
277
18
287
15
307
329
305
347
349
22
375
23
389
24
403
413
Resources
415
Customizing Dreamweaver
421
Glossary
429
Index
441
Contents
Introduction
35
vi
Workshop ..............................................................................................................49
Quiz ................................................................................................................49
Answers ..........................................................................................................49
Exercises ..........................................................................................................49
Hour 3 Planning and Defining Your Project
51
65
79
Contents
vii
97
99
111
viii
131
143
163
Contents
ix
177
179
195
211
229
231
Contents
xi
245
263
xii
277
287
305
307
Contents
xiii
329
347
349
xiv
Workshop ............................................................................................................372
Quiz ..............................................................................................................372
Answers ........................................................................................................372
Exercises ........................................................................................................373
Hour 22 Reusing Items in Your Web Site with the Library
375
389
403
Contents
xv
413
415
421
429
441
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
Id like to thank Jennifer Henry for her artistic contributions to this book. Thanks to the
Dreamweaver development team for creating such a great product. Thank you to the
wonderful crew at Sams Publishing.
Id also like to thank my family and friends for helping me through writing this book and
supporting me lovingly in all my endeavors. A big thank you to Schultzie for keeping me
company during my writing time in Palm Springs. Thanks to Dana, Shasta, and Nikko
for keeping me fed and happy in San Diego.
webdev@samspublishing.com
Mail:
Mark Taber
Associate Publisher
Sams Publishing
201 West 103rd Street
Indianapolis, IN 46290 USA
Reader Services
For more information about this book or others from Sams Publishing, visit our Web site
at www.samspublishing.com. Type the ISBN (excluding hyphens) or the title of the book
in the Search box to find the book youre looking for.
Introduction
Ooooooo, Dreamweaver. I believe you can get me through the night. Remember that
song by Gary Wright? OK, some of you werent born yet. The song brought up memories of seventh grade dances for me. Im glad that Dreamweaver, the software, came
along and replaced that vision in my head. Dreamweaver, the software, has helped me
through a number of nights developing Web sites and Web applications!
covered here, you may want to explore other advanced capabilities of Dreamweaver
MX to create Web pages that connect to databases. This book does not cover connecting Web pages to databases. Connecting your Web pages to databases enables you to
create Web pages that change dynamically depending on user choices.
Cautions signal you to be careful of potential problems, giving you information on how to avoid or fix them.
HOUR
52
Hour 3
the entire universe of that particular Web site. If you attempt to insert an image from
outside this universe, Dreamweaver will prompt you to save the file inside the Web site.
Dreamweaver isnt overly controlling! The program needs to define the internal realm
of your Web site so that it knows how to reference other files. For instance, if an
image is located in an images directory within the defined site, Dreamweaver knows
how to properly reference the image within a Web page. If, however, the image is
somewhere outside of the defined site, Dreamweaver cant reference it properly and
you will end up with bad links in your Web site. Youll learn more about how
Dreamweaver addresses files in Hour 4, Setting Lots o Links: Hyperlinks, URLs,
Anchors and Mailto Links.
Youll define a new Web site for every project you create. Even if these projects are
related, you may decide to break them down into smaller sites so the number of files
isnt unwieldy. For instance, I create eLearning applications, courses that people can take
over the Web. When Im working on a project, I often break individual lessons of a
course into separate defined sites. When I need to work on Lesson 1, I open that site, and
when I need Lesson 2, I open it. You can have only a single site open in Dreamweaver at
one time.
If you do not have any sites yet defined in Dreamweaver, youll see a Define a Site
link in the Site panel. Click on this link and youll open the Site Definition dialog
box. If you already have sites defined in Dreamweaver, youll 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 and
Advanced. Make sure you have the Basic tab selected. The Basic tab contains the Site
Definition Wizard that walks you through the site definition. You can always go back and
change or update your site if you need to.
The Site Definition Wizard has three main sections illustrated by the section names at the
top of the wizard. These are
Editing FilesThis section helps you set up the local directory where youll work
on the Web site. You tell the wizard whether or not your site uses server-side technologies (the sites in this book do not).
Testing FilesThis section is needed only for sites that use server-side
technologies.
53
Sharing FilesThis section enables you to tell Dreamweaver how you want to
transfer files to a server or other central location to share. Youll explore this functionality in Hour 21, Managing and Uploading Your Project.
FIGURE 3.1
The Basic tab of the Site
Definition dialog box
walks you through
setting up a site
definition.
Basic tab
Advanced tab
Sections
54
Hour 3
FIGURE 3.2
Your site name is used
by Dreamweaver only
to identify this site.
FIGURE 3.3
Part 2 of the Editing
Files section of the Site
Definition Wizard
enables you to tell
Dreamweaver whether
you will be using
server-side scripting in
your site.
The next page, Editing Files, Part 3, helps you specify where the files in your site are
located. The site that you edit in Dreamweaver is your development site; it isnt the final
site that other people will view on the Web. You can store your development files in three
places: on your local machine, on a network drive, or on a server somewhere. Select the
top radio button, electing to store the development files on your local machine. If you are
55
working in a networked environment (at your office, for instance), you could use either
of the other two choices. However, do not ever link to the final live version of your Web
site for development. You do not want to make a mistake on the real site; always make
sure 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 the
location of the site directory. Click the folder icon to the right of the textbox to navigate
to the directory. Use an existing directory on your hard drive or create a new directory
for your local site. Click the Next button.
FIGURE 3.4
You enter the directory
that will house your
development files.
The next section enables you to configure how you share files. You may set up a central
location 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 your
Web site with the Web community. Youll learn how to set this section up and transfer
files in Hour 21. For now, simply drop down the top menu and select None as shown in
Figure 3.5. Click the Next button.
56
Hour 3
FIGURE 3.5
To set up the
connection
information later,
simply select None.
The last page of the wizard displays a summary of your site, as shown in Figure 3.6. You
can come back to this wizard at any time to change your site definition by selecting the
Edit Sites command from the Site menu (the menu in the Site panel or the menu in the
Document window). Click the Done button.
FIGURE 3.6
The Site Definition
Wizard displays a
summary of your site
definition.
After you click the Done button, Dreamweaver displays a message telling you that it will
now create the initial site cache, as shown in Figure 3.7. When you click OK, a progress
57
bar appears (and disappears very quickly if you have nothing in your site yet). The initial
site cache is created each time you create a new site. The site cache is used to store
information about the links in your site so they can be quickly updated if they change.
Dreamweaver continues to update the cache as you work.
FIGURE 3.7
Dreamweaver tells you
it is creating a cache
for your site. This file
speeds updating links
when you move or
rename a file.
Youll select the site youd like to work on in the Site panel, shown in Figure 3.8. You
can then select the Web page youd 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 bigger
view of the site and more functionality, select the Expand/Collapse button in the Site
panel 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.
FIGURE 3.8
The Site panel enables
you to change sites
and open Web pages.
Expand/Collapse button
Site drop-down menu
58
Hour 3
The Site panel enables you to quickly locate and launch all the files in your Web site. You
may want to leave it open all the time and use it to open files. If you use the Site panel to
open files, you wont 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.
On the Mac, the Site window is a separate window from the Document window. You
can keep this window open all the time if youd like access to it. Windows users
should go ahead and click the Expand/Collapse button in the Site window toolbar to
collapse the window and return to the Document window. Mac users should stay in
the Site window.
59
First, create an images directory. From the Site panel context menu, select the New
Folder command. An untitled folder is added to your site. Give this folder the name
Images. Next add a file to the root directory. Right-click (or Control+click) on the
root folder and select the New File command. Make sure you arent 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 page
index.html, which is the default page name for many servers. A default page will
load into the browser as the default page only when the user points to the directory
the page is in. The results should look like Figure 3.11.
60
Hour 3
FIGURE 3.11
Use the Site panel
context menu to
quickly add files and
folders to the Web site.
I think its a good idea to name everything with lowercase letters. Some
servers and scripting languages are case sensitive. When I name everything
with lowercase letters, I never incorrectly enter the name.
Select the site you just created, and click the Edit button in the Edit Sites dialog box. The
Site Definition dialog box opens again. Click on the Advanced tab at the top of the dialog box. This is another view of the information that you entered into the wizard, shown
in Figure 3.13. There are categories on the left side of the dialog box with the selected
categorys properties displayed on the right.
61
FIGURE 3.13
The Advanced tab
contains all of the
site properties.
In the Local Info category, select the folder icon next to the Default Images Folder
textbox. Navigate to the images folder you just created. Now Dreamweaver knows where
youll keep your images for the site. Click the OK button to save your changes. Click the
Done button to close the Edit Sites dialog box.
You can import and export site definitions to XML files that you can share
with others or use to define the site on a different computer. This feature,
described in Hour 21, could save you a lot of time.
62
Hour 3
FIGURE 3.14
An example directory
structure, in which the
Web site is housed in
the Web directory.
This directory structure enables me to put other files in the clients folder without making
them part of the Web site. Its good practice to keep other files separate from those you
plan to transfer to the Web. You may prefer to have one directory that contains all of your
Web sites. Whatever works best for you.
Put some thought into how youll organize the files in your Web site before you start a
project. 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, you
might want to create separate folders for those, too. I always create a scripts directory to
hold external JavaScript files and external Cascading Style Sheet files; youll explore
these in the later hours of the book.
If you have different sections of your Web site, do you want to create separate directories
for 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 hard
to find. Make sure that your organizational logic isnt 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 to
that file. Thats what the site cache is created for. However, it is still better to make wise
design decisions at the beginning of a big project.
63
FIGURE 3.15
Organize your Web site
into images and other
directories.
I also try to logically break up sections of Web sites into separate directories. If your
Web site has obvious divisions (departments, lessons, products, and so on), you can create directories to hold the Web pages in each of the sections. Youll be surprised at how
even a small Web site becomes quickly unmanageable when all the files are dumped into
one directory.
Summary
In 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 the
Site panel and expand it to the Site window. And you explored ideas about how to
organize your site.
Q&A
Q 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 you
did this hour, pointing to the root directory of the site youd like to import.
Dreamweaver will present all of the files in the Site panel, enabling you to open
and edit them.
64
Hour 3
Q If Im uploading my site to the Web server, wont people be able to see my site
while its still in progress?
A Yes, if they know the URL. Its better to create a staging area somewhere that
isnt public on your server as your remote site until you are ready to launch your
completed site. When you are finished, you can either upload the entire site to its
final location or ask your Webmaster to direct the proper URL to your staging area.
Workshop
The Workshop contains quiz questions and activities to help reinforce what youve
learned in this hour. If you get stuck, the answers to the quiz can be found following the
questions.
Quiz
1. 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 Web
site into Dreamweaver.
Answers
1. 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 into
Dreamweaver.
Exercises
1. Try defining a new Web site. Add some files and folders.
INDEX
A
absolute paths, 6670
defined, 66
Web pages and, 68
Accessibility resources
Web sites, 419
actions, 264
Active Server Pages (ASP),
339343
defined, 430
ActiveX, 430
Add and Remove Netscape
Layer Fix command
(Command menu), 234
adding a caption, 189
adding data, 183
adding links to PDF files, 151
adding table rows and
columns, 185186
Add Keyframe command
(Context menu), 298
Add Object to Library command (Modify menu), 378
looping, 293294
recording simple,
290293
anti-aliasing, 147
defined, 430
API. See Application
Programming Interface
(API)
applet, 430
Application Programming
Interface (API), 430
Area within Layer command (Drag Handle
menu), 283
ASP. See Active Server
Pages (ASP)
ASP.NET, 430
Web pages, 418
Asset menu commands
New, 398
Update Page, 385, 399
Update Pages, 385, 399
Asset panel, 163
442
B
background colors, 40
background images, 108
defined, 430
background panel settings
(Style definition dialog
box), 250
bandwidth, 21, 143144
defined, 143, 430
B channel behavior,
294295
Beatnik, 154
behaviors
attaching to objects,
266267
B channel, 294295
Call JavaScript, 265
Change Property, 265
Submit, 322
types, 321
unordered lists and, 44
button states, 139
down, 431
up, 431
C
C#, 431
cable modems, 431
Call JavaScript behavior,
265
<caption> tag, 189
cascading style sheets
(CSS), 44
converting to HTML
markup, 259260
creating hyperlink
Rollovers, 256
custom styles, 246248
applying, 248
creating, 246
defined, 245, 431
external style sheets,
257259
heads and, 81
positioning layers,
254255
Property inspector and,
259260
redefining heading tags,
252254
selectors, 256
case sensitivity, 60
cells
adding layout cells, 197
defined, 431
resizing, 198
cell padding
defined, 187, 431
setting, 187
443
cell spacing
defined, 187, 431
setting, 187
Center align, 431
centering text, 36
<center> tag, 91
certificates, 338
CFML. See ColdFusion
Markup Language (CFML)
cgi-bin, 431
CGI script. See Common
Gateway Interface (CGI)
script
Change Object command
(Timelines panel), 297
Change Object dialog box,
297
Change Property behavior,
265
channels, 288
Char Width, 313
check boxes, 316318
creating, 317318
defined, 431
Checkbox command (Insert
menu), 317
Check Browser behavior, 265
Checked Out By report, 370
Check In/Check Out
enabling, 358359
transferring files, 360
Check In command (Site
menu), 361
Check Out command (Site
menu), 361
Check Plugin behavior, 265
Choose Spacer Image
and Autostretch, 199
classic TV theme songs Web
site, 152
Clean up Word HTML
command (Command
menu), 93
444
Documents window
Draw Layout Cell, 197
Drag Handle menu
Area within Layer, 283
Entire Area, 283
Drop-down menus
Autostretch commands,
200
Edit menu
Copy, 25
Cut, 25
Find, 25
Paste, 25
Preferences, 25
Replace, 25
Select Child, 88
Select Newer Local,
363
Select Newer Remote,
363
Select Parent Tag, 88
Edit Tag, 85
File menu
CSS Styles to HTML
Markup (Convert
submenu), 260
Design Notes, 369
Edit Browser List,
4748
Export CSS Styles, 259
Export Table (Export
submenu), 191
New, 35, 71
Open in frame, 212,
219
Preview in browser,
4748
Save All, 212
Save As Template, 392
Save Frame, 214, 215
Save Frameset, 212,
215
Save Frameset As, 212
Save Site Map, 367
commands (Word)
Modify menu
Add Object to Library
(Library submenu),
378
Add Timeline
(Timeline submenu),
301
Bring to Front (Arrange
submenu), 137
Convert Tables to
Layers (Convert submenu), 207
Edit NoFrames Content
(Frameset submenu),
222
Make Same Height
(Align submenu), 137
Make Same Width
(Align submenu), 137
Page Properties, 37
Quick Tag Editor, 85
Record Path of Layer
(Timeline menu), 291
Remove Template
Markup (Templates
submenu), 398
Send to Back (Arrange
submenu), 137
Split Frame Right
(Frameset submenu),
215
Template commands
(Template submenu),
394
Property inspector
Split Cell command,
202
Remove Tag <form>, 323
Select all, 120
Site menu
Check In, 361
Check Out, 361
Cloak (Cloaking submenu), 392
445
Connect/Disconnect,
357
Edit Sites, 56, 60, 350
Export, 362
Get, 357
Import, 362
New Home Page, 365
New Site, 52
Put, 357
Refresh, 357
Reports, 105, 371
Set as Home Page, 365
Site Files, 57, 58
Synchronize, 362
Site panel (Context menu)
New file, 59
New folder, 59
Text menu
New CSS Style (CSS
Styles submenu), 246
Timelines panel
Change Object, 297
View menu
Edit Grid (Grid submenu), 240
Frame Borders (Visual
Aids submenu),
213214
Head Content, 81, 169
Invisible Elements, 29,
74
Invisible Elements
(Visual Aids submenu), 309
Show Grid (Grid submenu), 239
Snap To (Grid submenu), 239
Toolbar, 18
Tracing images, 205
View as Root, 366
commands (Word)
File menu
Save as Web Page, 93
446
comments
comments, 406
Comment command (Insert
menu), 405
Comment object, 432
Common Gateway Interface
(CGI) script
defined, 431
GET method, 334
POST method, 334
processing forms,
334335
Web site, 418
conditionals, 407
Connect/Disconnect command (Site menu), 357
context menu, 1025
defined, 432
tables and
adding rows and
columns, 185186
removing rows and
columns, 185186
context menu commands
Add Keyframe, 298
Locate in Site, 166
Merge Cells, 201
continuous tone palette, 432
controls, 154156
Control Shockwave/Flash
behavior, 265
Convert Tables to Layers
command (Modify menu),
207
Convert Tables to Layers
dialog box, 207
Copy command (Edit
menu), 25
Copy to Site command
(Asset panel), 174
CourseBuilder, 432
CSS. See Cascading Style
Sheets (CSS)
D
Date object, 432
David Griffins snow applet
Web site, 158
default page names, 59, 68
delimiter
data, 189
defined, 189
field, 189
Design Notes, 368370
Design Notes command
(File menu), 369
Design Notes report, 370
Design view, 1819
defined, 432
displaying, 82
demo version of
Dreamweaver (Web site), 7
development sites, 54
DHTML. See Dynamic
HTML (DHTML)
dialog boxes
Add URL, 173
Change Object, 297
Choose Spacer Image
and Autostretch, 199
Clean up Word HTML, 94
Convert Tables to Layers,
207
Draw Layer, 282284
Edit Contents, 341
Edit Sites, 60
Format Table, 188
Go to Timeline Frame,
294
Go to URL, 225
Grid Settings, 240
Insert Date, 411
Insert Fireworks HTML,
127
Insert Flash Text, 148149
Insert Jump Menu, 324
Insert Named Anchor, 74
Insert Navigation Bar, 139
Insert Rollover Image, 108
Insert Table, 180
Insert Tabular Data, 190
List Values, 320
New Editable Region, 396
New Style, 257
Page Properties, 205
tracing images,
205207
Popup Message, 273
Preferences, 308
Save As Command, 425
Save As Template, 392
Save Style Sheet File As,
257
Select File, 408
Select Image Source, 101,
323
Set Text of Status Bar, 274
Dynamic Web
text
centering, 36
entering, 36
toolbar, 18
status bar, 19
domains, 67
download resources Web
sites, 419
Drag Handle menu commands
Area Within Layer, 283
Entire Area, 283
Drag Layer, 277278
advance attributes,
282283
<body> tag events,
284285
calculating target location,
280281
using, 279280
Drag Layer behavior, 265
Drag Layer dialog box,
282284
Draw Layout Cell command
(Documents window), 197
Draw Layout Cell object,
432
Draw Layout Table object,
432
Draw Layout Table Tool,
204
Dreamweaver
authoring capabilities, 6
demo version, 7
development resources, 416
editing capabilities, 6
getting help, 3031
installing, 7
interface, 6
new features, 3233
work area, 8, 1011,
1319, 2130
447
Dreamweaver 4, 7
Dreamweaver API
(Application Programming
Interface), 421
Dreamweaver development
resources Web sites, 416
Dreamweaver Extensions
Web site, 417418
Dreamweaver MX, 1
drop-down menus
Autostretch commands,
200
changing text size, 4244
Code Navigation, 19
Commands menu, 27
context menus, 29
Edit menu, 25
File Management menu,
19
File menu, 25
font combination, 43
formatting text, 4142
Help menu, 27
Insert menu, 26
Modify menu, 26
Page Properties menu,
3738
Preview/Debug menu, 19
Site menu, 28
Text menu, 27
View menu, 26
View Options menu, 19
Windows menu, 28
Windows Size menu, 21
Drop target location,
280281
DSL. See digital subscriber
line (DSL)
Dynamic HTML (DHTML),
288
defined, 232, 432
resources (Web site), 417
Dynamic Web, 6
448
E
Edit Browser List command
(File menu), 4748
Edit Contents dialog box,
341
Edit Grid command (View
menu), 240
editing
Roundtrip HTML, 6
server-side includes,
409410
site definitions, 60
tables, 201202
Edit menu, 25
Edit menu commands
Copy, 25
Cut, 25
Find, 25
Paste, 25
Preferences, 25
Replace, 25
Select Child, 88
Select Newer Local, 363
Select Newer Remote, 363
Select Parent Tag, 88
Edit Nickname command
(Asset panel), 171
Edit NoFrames Content
command (Modify menu),
222
Edit Sites command (Site
menu), 56, 60, 350
Edit Sites dialog box, 60
Edit Tag command, 85
Edit Tag mode, 88
E-mail Link object, 432
embedded player. See inline
player
<embed> tag, 146
<empty> tag, 105
entering text, 36
F
fieldsets, 433
file endings, 67
File fields, 433
File Management Menu, 19
File menu, 25
File menu commands, 35
CSS Styles to HTML
Markup (Context submenu), 260
Frames panel
Fireworks
adding effects to images,
120
adding shapes to images,
118120
adding text to an image,
117118
Adobe Photoshop and, 121
creating an image, 115
(See also Images, creating)
creating Rollover images,
120
defined, 111
displays, 112113
exporting files to
Dreamweaver, 127
introduction to, 112115
optimizing images,
123125
panels, 114115
slicing images, 125126
tools, 113114
Fireworks HTML command
(Insert menu), 127
Fireworks HTML object, 433
Fireworks MX. See
Fireworks, defined
Fireworks MX Web site
(download), 111
Flash buttons
adding text to, 150
creating, 149151
defined, 433
editing, 150
inserting, 149150
Flash movies
adding, 145151
adding text to Flash buttons, 150
creating Flash buttons,
149151
creating text, 147149
anti-aliasing, 147
449
lists, 318321
menus 318321
properties, 310
uploading files from,
338339
Forms panel, 308
<form> tag, 312, 339
fps. See frames per second
(fps)
frame attributes, 219221
frame borders, 213
Frame Borders command
(View menu), 213214
frame objects, 223
frames, 288
alternatives to, 222
attributes, 219221
borders, 213
creating a frameset,
212216
defined, 212, 433
Frames panel, 216217
Go to URL behavior, 225
naming, 214216
nested, 217218
NoFrames Content, 222
objects, 223
setting the size
Netscape and, 221
splitting, 215
splitting a page into,
213214
targeting, 223225
using existing Web pages
with, 218
viewing frame borders,
213
framesets
creating, 212216
defined, 212, 433
frameset attributes, 219221
<frameset> tag, 220
frameset Web pages, 215
Frames panel, 216217
450
G-H
general Web development
resources Web sites,
416417
generic buttons, 323
Get command (Site menu),
357
GET method, 334
GIFs
defined, 433
uses for, 106
glossary, 429440
Go To Timeline behavior, 265
Go to Timeline Frame dialog box, 294
Go To URL behavior, 265
Go to URL dialog box, 225
Grayscale palette, 433
Grid Settings dialog box, 240
Gripper, 433
head, 434
Head Content command
(View menu), 81, 169
headers, 434
header cells, 183
<head> (heading) tag,
252254, 385, 386, 408
help, 3031
context sensitive, 31
Help menu, 28
Help menu commands
Using Dreamweaver, 30
hexadecimal notation,
434
hidden fields
adding, 335337
defined, 434
Hidden Field command
(Insert menu), 336
hidden parameter, 157
Hide Pop-up Menu behavior,
265
Highlight Invalid HTML
option (View menu), 83
History panel, 424
History panel (Fireworks),
115
home page, 68
Horizontal Rule command
(Insert menu), 46
Horizontal Rule Object, 434
hotspots, 131137
adding, 133136
aligning, 136137
circular, 134135
defined, 434
irregular, 135136
rectangular, 133134
H space, 104, 434
<h3> tag, 252254
.htm file, 429
HTML, 421
cleaning up, 93
defined, 434
editing
Roundtrip HTML, 6
explained, 6
finding errors, 84
Help, 30
Microsoft Word and, 93
tags
anchor (<a>), 90, 268
<body> tag, 278279,
284285, 293, 386,
400, 408
<br>, 41
<caption>, 189
<center>, 91
defined, 439
deprecated, 44
<div>, 91, 243, 285
editing, 8489
<embed>, 146
<empty>, 105
<font>, 44, 259260
<form>, 312, 339
<frameset>, 220
<head> (heading) tag,
252254, 385, 386,
408
<h3>, 252254
<html>, 80, 408
<img>, 90
<meta>, 81, 436
<object>, 146
<p>, 41
Quick Tag Editor, 84
<span>, 243
<table>, 181
<td>, 183
<th>, 183
<title>, 81
.html files, 429
HTML Markup
saving as HTML style,
260261
<html> tag, 80, 408
.https files, 429
Hyperlink events, 272
hyperlink objects, 434
hyperlink Rollovers, 256
hyperlinks
adding within a Web site,
7173
as assets, 167
defined, 65
Hypertext Markup
Language. See HTML
Hypertext Preprocessor. See
PHP Hypertext
Preprocessor (PHP)
I
icons
defined
in the Insert bar, 1018
point-to-file, 75
images
adding alternate text for,
104105
adding background, 108
adding a shape, 118120
adding effects, 120123
adding text (Fireworks),
117118
adding to a page, 100106
aligning with text,
102104
alignment options, 103
as assets, 166
creating (Fireworks),
115120
creating linked, 105106
creating Rollover,
108109
creating Rollover
(Fireworks), 120123
defined, 434
optimizing for use in a
Web page (Fireworks),
123125
placing a Fireworks file
into Dreamweaver, 127
slicing into pieces
(Fireworks), 125126
tracing images, 205207
Image events, 272
Image fields
adding, 323
defined, 434
Image Field command
(Insert menu), 323
Image Flavors, 106107
451
Insert menu, 26
layer, 233, 241
tables
Tabular Data, 190
Insert menu commands
Button (Form Object submenu), 322
Checkbox (Form Object
submenu), 317
Comment (Text object
submenu), 405
Fireworks HTML, 127
Horizontal Rule, 46
Image Field (Form Object
submenu), 323
Insert Image, 100
Jump menu (Form Object
submenu), 324
Layer, 233, 241
List/Menu (Form Object
submenu), 319
Named Anchor command,
74
New Editable Region
(Template Objects submenu), 396
New Optional Region
(Template Objects submenu), 397
Radio Group (Form
Object submenu), 316
Rollover Image, 108
Server-Side Include, 408
Tabular Data (Table submenu), 190
Text Field (Form Objects
submenu), 310
Insert Named Anchor dialog
box, 74
Insert Navigation Bar dialog
box, 139
Insert Navigation Bar
object, 138
452
J-L
Java, 434
Java applets
defined, 158
inserting, 158160
requirements for, 158
JavaScript, 282284, 421
assets, 168169
client-side scripts, 329
defined, 435
Dreamweaver and,
263275
error messages, 83
heads, 81
Web site, 418
JavaServer pages (JSP),
339343
defined, 435
JPEG
defined, 435
uses for, 106
JSP. See JavaServer Pages
(JSP)
Jump menu
creating a, 323326
editing, 325
defined, 435
Jump menu behaviors, 265,
325
Jump Menu command
(Insert menu), 323
Jump Menu Go behavior,
265
Jump Menu object, 323
Justify align, 435
keyframes, 293
adding, 298299
defined, 435
Keyword, 435
labels
adding, 315316
defined, 435
LAN. See Local Area
Network (LAN)
last-modified date, 410411
Layer command (Insert
menu), 233, 241
Layer object, 435
layers
adding, 232241
adding background colors,
237238
adding background
images, 237238
aligning, 239240
attributes, 233
changing visibility, 240241
constraining movement of,
279280
defined, 232, 207, 435
nesting, 241243
Netscape 4, 234
positioning with styles,
254255
setting positioning,
236237
stacking order, 238239
tags, 243
using the grid, 239240
z-index, 238
Layers panel, 207
naming buyers, 235
Layers panel (Fireworks),
114
Layout tab, 18
Layout view, 18, 195201
adding cells, 197
adding tables, 197
changing colors, 200
defined, 435
nesting tables, 204
Layout view button, 435
Left align, 435
library, 435
library items
adding to a page, 381384
attributes, 382383
behaviors and, 385386
creating, 376384
creating from existing
content, 378379
creating from scratch,
379381
hotspots, 386
making changes to,
384385
styles and, 385
timelines, 386
M
Mac OS palette, 436
Macromedia, 7
Web sites
Macromedia, 7
Dreamweaver demo, 7
Dreamweaver
Exchange, 145, 426
Dreamweaver Support
Center, 66
templates, 390
Macromedia Dreamweaver.
See Dreamweaver
Macromedia Extension
Manager, 7, 426
mailto link, 7677
Make Same Height command (Modify menu), 137
Make Same Width command (Modify menu), 137
Manage Extensions command (Command menu),
426
Matts Form Mail Script
Web site, 335
Matts Script Archive Web
site, 333
Max Chars, 313
menu bar attribute, 271
menus, 318321
Commands, 27
context menus, 29
drop-down, 19, 2529
changing text size,
4244
font combinations, 43
formatting text, 4142
Page Properties, 3738
File menu
Help menu, 28
Insert menu, 26
List/Menu object, 318
Modify menu, 26
Site menus, 28
Text menu, 27
View menu, 26
Windows menu, 28
Merge cells command
(Context menu), 201
453
454
movies, as assets
N-O
Named Anchor command
(Insert menu), 74
Named Anchor object, 436
named anchors
defined, 73
invisible elements and, 74
organizing Web pages,
7375
navigation bar
adding, 138141
creating, 139
Navigation Bar object, 436
navigation toolbar attribute,
271
nested frames, 217218
nested list, 436
nested table, 436
nesting tables, 204
Netscape Navigator, 288
events and, 267
layer attribute support, 296
plug-ins, 144
Netscape Navigator Web
site, 47, 49
Networks, 353
P
packets, 337
page layout, 195209
defined, 195
page margins, 3841
Page Properties
accessing, 3738
setting default text colors,
3841
setting page margins,
3841
Page Properties commands
(Modify menu), 37
Page Properties dialog box,
205
page separator, 4546
palette, 436
Panel groups, 436
panels, 8, 22
Asset, 5
categories, 164, 165,
166167, 168169
favorites, 171172
protocol
Library category,
376377
Template category, 390
Behaviors, 266
docking, 23
Forms, 308
History, 424
resizing, 23
Site, 5758, 356
parent directory, 70
_parent reserved target
name, 224
parsing data, 333
Paste command (Edit
menu), 25
pasting text, 41
password text fields, 313
path, 67
PDF files. See Portable
Document Format (PDF)
files
PHP Hypertext
Preprocessor (PHP),
339343, 436
Web site, 418
playback head, 288289
playcount parameter, 157
players, 144145
ActiveX controls, 144
defined, 437
inline, 156
LiveAudio, 154156
plug-ins, 144
QuickTime, 154156
Windows Media Player,
156
Play Recorded command
(Commands menu), 424
Play Sound behavior, 265
Play Timeline behavior, 265
Plugin object, 15215
defined, 437
resizing the control, 154
plug-ins, 437
pluginspace attribute, 145
PNG
defined, 437
uses for, 106
point-to-file icon, 75
Popup message, 437
Popup Message behavior,
265
Popup Message dialog box,
273
port, 67
Portable Document Format
(PDF) files, 151, 437
positioning panel settings
(Style definition dialog
box), 251
POST method, 334
preferences, 233, 234
Preferences command (Edit
menu), 25
Preferences dialog box, 308
Preload Images behavior,
265
present table format, 188
Preview/Debug menu, 19
Preview in Browser command (File menu), 47
previewing movies, 146147
previewing work, 4648
properties
visibility, 233
z-index, 233
Property inspector, 2325
Active Server Pages
(ASP), 341
adding table properties,
186
Autostretch, 198
Autostretch Button, 199
Code view, 84
colors, 40
creating lists, 4445
455
456
prototypes
prototypes, 5960
<p> tag, 41
Put command (Site menu),
357
Q-R
query string, 67
Quick Tag Editor
defined, 437
Edit Tag mode, 88
HTML tags, 8489
Insert HTML mode,
8687
modes, 86
Property inspector, 85
Wrap Tag mode, 8889
Quick Tag Editor command
(Modify menu), 85
QuickTime player, 154, 437
radio buttons, 316317
creating, 316317
defined, 437
radio groups, 437
Radio Group Object command (Insert menu), 316
RDS. See Remote Directory
Services (RDS)
RealMedia, 153, 437
Record Path of Layer command (Modify menu), 291
Redundant Nested Tags
report, 371
Refresh command (Site
menu), 357
relative frame size, 221
recommended books,
415416
Removable Empty Tags
report, 371
Remove Tag <form> command, 323
S
Save All Command (File
menu), 212
Save As Command dialog
box, 425
Save As Template command
(File menu), 392
Save As Template dialog
box, 392
Save as Web Page command
(MS Word File menu), 93
Save Frame command (File
menu), 214
Save Frameset As
Command (File menu),
212
Save Frameset Command
(File menu), 212, 215
Save Site Map command
(File menu), 367
Save Style Sheet File As dialog box, 257
saving work, 4648
screen resolution, 197, 438
scripts
as assets, 168169
defined, 438
Scripting Resources, 418
scrollbars, 219220
scrollbars attribute, 271
scrolling attributes, 219220
security, 337338
Select All command, 120
Select Child command (Edit
menu), 88
Select File dialog box, 408
Select Image Source dialog
box, 101, 323
selecting table elements,
180183
Select Newer Local command (Edit menu), 363
Select Newer Remote command (Edit menu), 363
Select Parent Tag command
(Edit menu), 88
_self reserved target name,
224
Send to Back command
(Modify menu), 137
server connections, 350356
server-side image maps,
132, 438
server-side includes (SSI),
403
commands, 406
conditionals, 407
defined, 404405, 438
editing, 409410
including a file, 407
inserting, 405406
turning comments into,
406407
Server-Side Include command (Insert menu), 408
Set as Home Page command
(Site menu), 365
457
sections, 5253
server-side scripting,
5357
sharing files, 55
site cache, 5657
Site Files command (Site
menu), 57
Site Files command (Site
menu (Mac)), 58
Site maps, 365
Site menu, 28
Site menu commands
Check In, 361
Check Out, 361
Cloak (Cloaking submenu), 392
Connect/Disconnect, 357
Edit Sites, 56, 60, 350
Export, 362
Get, 357
Import, 362
New Home Page, 365
New Site, 52
Put, 357
Refresh, 357
reports, 105, 371
Set as Home Page, 365
Site Files, 57, 58
Synchronize, 362
site organization, 6162
Site panel, 5758, 356
defined, 438
New File command, 59
New Folder command, 59
site root, 70
site root relative path, 70
Site window, 58, 438
Snap To command (View
menu), 239
snippets
customizing, 422
defined, 438
Snippet dialog box, 422
458
sorting tables
T
table, 438
table cells, 180
aligning contents,
202203
merging, 201
splitting, 201
table data
exporting, 191
importing 189-191
Table object, 438
table rows, 180
tables, 195209
adding background
images, 204
adding captions, 189
tags (HTML)
anchor (<a>), 90, 268
<body> tag, 278279,
284285, 293, 386, 400,
408
<br>, 41
<caption>, 189
<center>, 91
defined, 439
deprecated, 44
<div>, 91, 243, 285
<embed>, 146
<empty>, 105
<font>, 44, 259260
<form>, 312, 339
<frameset>, 220
<head> (heading) tag,
252254, 385, 386, 408
<h3>, 252254
<html>, 80, 408
<img>, 90
<meta>, 81, 436
<object>, 146
<p>, 41
Quick Tag Editor, 84
<span>, 243
<table>, 181
<td>, 183
<th>, 183
<title>, 81
Tag selector, 19, 278279
defined, 439
selecting <body> tag,
278
status bar
<table> tag, 181
targeting
defined, 223224
frames, 223225
reserved target names, 224
targets, 137138
<td> tag, 183
templates
applying to a Web page,
398399
behaviors, 399400
creating, 390398
from an existing Web
page, 391392
from scratch, 393394
defined, 439
importing/exporting as
XML, 397
making a New Editable
Region, 397398
making changes to, 399
making an existing region
editable, 394397
styles, 399400
timelines, 399400
Template commands
(Modify menu), 394
text
adding alternate, 104105
adding to images
(Fireworks), 117118
aligning with images,
102104
centering, 36
colors, 38
creating lists, 4445
entering, 36
fonts, 4344
formatting, 4142
size, 4244
Text colors
choosing, 39
setting, 38
text fields
adding, 310312
adding labels to, 315
applying attributes,
313315
defined, 439
459
resizing, 314
types, 313
width settings, 313
Text Field command (Insert
menu), 310
Text menu, 27
Text menu commands
New CSS Style (CSS
Styles submenu), 246
text placeholder, 71
textarea fields, 313
textarea object, 314
Wrap property, 314
<th> tag, 183
tiling, 238
timelines, 287302
adding layers to, 295298
channels, 288
controlling layer properties with, 299300
defined, 439
frames, 288
playback head, 288289
use in templates, 399
using multiple, 301302
Timelines panel, 288290
autoplay check box, 293
Change Object command,
297
channels, 288
frames, 288
loop check box, 293
playback controls, 289
playback head,
288289
title, 439
Title Bar, 439
<title> tag, 81
toolbar, 18
drop-down menus, 19
Toolbar command (View
menu), 18
460
Tools
Tools
Draw Layout Table, 204
_top reserved target name,
224
tracing images, 205207
Tracing Images command
(View menu), 205
transfer methods, 350351
Type panel settings (Style
definition dialog box),
249250
U-V
u-Law (.au), 154
Uniform Resource Locator
(URL), 66
as assets, 167
defined, 439
sections of, 67
UNIX, 335
Untitled Documents report,
371
Update Page command
(Asset menu), 385, 399
Update Pages command
(Asset menu), 385, 399
Update Pages dialog box,
399
Update Pages dialog box
(Fireworks), 384
URL. See Uniform Resource
Locator (URL)
URL panel (Fireworks), 115
usability resources Web
sites, 419
Using Dreamweaver command (Help menu), 30
Validate Form behavior,
265, 330332
Validate Form dialog box,
330
variables
@referers (formMail), 335
$mailprog (formMail),
335
VB. See Visual Basic (VB)
VBScript, 439
vector graphics, 118
Verisign, 338
Verisign Web site, 338
videos, as assets, 167168
View as Root command
(View menu), 366
viewing Web pages, 48
View menu, 26
View menu commands
Edit Grid (Grid submenu),
240
Frame Borders (Visual
Aids submenu), 213214
Head Content, 81, 169
Invisible Elements, 29, 74
Invisible Elements (Visual
Aids submenu), 309
Show Grid (Grid submenu), 239
Snap To (Grid submenu),
239
Toolbar, 18
Tracing Images, 205
View as Root, 366
View Options menu, 19
options, 83
views
Code view, 18
Design view, 18
layout, 18, 196
Live data view, 18
Split view, 18
Standard, 18, 196
switching between views,
196
Vis drop-down menu, 240
visibility, 439
attributes, 268
Visibility property, 233
Visual Basic (VB), 439
Visual SourceSafe (VSS),
439
volume parameter, 157
V Space, 104, 439
VSS. See Visual SourceSafe
(VSS)
W
WAV, 154
Web addresses, 66
WebDAV, 351, 354, 439
Web-safe palette
defined, 439
Web server applications,
335
Web sites
Accessibility resources,
419
adding library items to,
381384
adding Design Notes to,
368370
Adobe Acrobat Reader,
151
assets
asset panel, 164
colors, 166
copying, 174
creating, 172173
favorites list, 171172
images, 166
inserting, 169170
links, 167
listing, 164, 165
managing, 164
previewing, 165, 166
script, 168169
z-index property
body of, 81
browser resources, 419420
CGI, 418
classic TV theme songs,
152
David Griffin's snow
applet, 158
defined, 65
defining, 5153
download resources, 419
Dreamweaver development resources, 416
Dreamweaver extensions,
417418
Dynamic HTML
(DHTML) resources, 417
editing, 362
Fireworks MX (download), 111
Freescripts, 333
General Web development
resources, 416417
head, 81
importing existing, 362
Java Script, 418
Macromedia, 7
Dreamweaver demo, 7
Dreamweaver
Exchange, 145, 426
Dreamweaver Support
Center, 66
templates, 390
Matts Form Mail Script,
335
Matts Script Archive, 333
Microsoft Internet
Explorer, 47, 49
Netscape Navigator, 47, 49
organizations, 420
organization, 6162
with named anchors,
7375
preview of, 273
prototypes, 59
Server Side Scripting, 418
South Park sounds, 152
transfer methods, 350351
usability resources, 419
viewing, 48
Verisign, 338
Web site management,
358359
window name attribute, 271
windows
Document window, 24, 25
context menus, 29
drop-down menus, 26,
27, 28, 29
461
inspectors, 22
invisible objects, 29,
30
panels, 10, 18, 22,
23
status bar, 19, 21, 22
toolbar, 18, 19
opening, 271273
a new browser window,
271272
Windows Media Player,
439
Windows menu, 28
Windows NT, 335
Windows OS palette, 439
Word wrap, 83, 440
workspace
changing between, 8
defined, 440
Wrap Tag mode, 88
WYSIWYG, 6, 440
Z
z-index, 238, 440
z-index property, 233