User Guide

Exporting from Fireworks 255
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 choose 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 dont 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.
Note: 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 259.
To copy Fireworks HTML using the Copy HTML Code option:
1 Do one of the following:
Choose Edit > Copy HTML Code.
Click the Quick Export button and choose 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.
Note: 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.
The wizard exports the images to the specified destination and copies the HTML code to
the Clipboard.