Exporting from Fireworks 361
Copying HTML to the Clipboard
A fast way to export Fireworks-generated HTML is to copy it to the Clipboard.
You can copy HTML code in Fireworks in either of two ways. You can use the Copy HTML
Code command, or you can select Copy to Clipboard as an option in the Export dialog box.
Doing so will copy the Fireworks HTML to the Clipboard and generate the associated image
files in the location you specify. You’ll later paste this HTML into a document in your
preferred HTML editor.
Although copying to the Clipboard is a fast way to get Fireworks HTML into other
applications, it is not ideal in every situation. Copying HTML to the Clipboard has the
following disadvantages:
■
You don’t have the option to save images into a subfolder. They must reside in the same
folder as the HTML file where you paste the copied HTML. An exception is HTML
copied to Macromedia Dreamweaver.
■
Any links or paths used in Fireworks pop-up menus will map to your hard drive. HTML
copied to Dreamweaver is an exception.
■
If you use an HTML editor other than Dreamweaver or Microsoft FrontPage, JavaScript
code associated with buttons, behaviors, and rollover images is copied but may not
function correctly.
If these issues pose a problem for you, use the Export HTML option instead of copying
HTML to the Clipboard.
To copy Fireworks HTML using the Copy HTML Code option:
1.
Do one of the following:
■
Select Edit > Copy HTML Code.
■
Click the Quick Export button and select Copy HTML Code from the pop-up menu.
2.
Follow the wizard as it guides you through the settings for exporting your HTML and
images. When prompted, specify a desired folder as the destination for the exported images.
This must be the location where your HTML file will reside.
The wizard exports the images to the specified destination and copies the HTML code to
the Clipboard.
NO
TE
Before you copy HTML code, be sure that you’ve selected the appropriate HTML style
and chosen Include HTML Comments from the General tab of the HTML Setup dialog
box. For more information, see
“Setting HTML export options” on page 367
.
NOT
E
If you plan to paste the HTML code into Macromedia Dreamweaver, it does not
matter where you export the images, as long as they reside in the same
Dreamweaver site as the HTML file into which you will paste your code.
Summary of Contents for FIREWORKS 8
Page 1: ...Using Fireworks...
Page 78: ...78 Chapter 3 Selecting and Transforming Objects...
Page 142: ...142 Chapter 5 Working with Vector Objects...
Page 166: ...166 Chapter 6 Using Text...
Page 192: ...192 Chapter 7 Applying Color Strokes and Fills...
Page 234: ...234 Chapter 9 Layers Masking and Blending...
Page 250: ...250 Chapter 10 Using Styles Symbols and URLs...
Page 324: ...324 Chapter 13 Creating Animation...
Page 372: ...372 Chapter 14 Optimizing and Exporting...
Page 444: ...444 Chapter 16 Automating Repetitive Tasks...
Page 454: ...454 Chapter 17 Preferences and Keyboard Shortcuts...
Page 472: ...472 Index...