Adobe Fireworks CS3 Manuale Utente

Pagina di 369
ADOBE FIREWORKS CS3
User Guide
283
5
Click OK to return to the Export dialog box.
6
Select Export HTML file from the HTML pop-up menu. 
Choosing Export HTML generates an HTML file and the associated image files in the location you specify.
7
Select Export Slices from the Slices pop-up menu if your document contains slices.
8
Select Put Images in Subfolder if you want images stored in a separate folder. You can select a specific folder or 
use the Fireworks default, which is a folder named images.
9
If you are exporting a multi-page Fireworks document, deselect the Current page only check box to export all of 
the pages into separate HTML documents.
10
Click Export.
After export, you’ll see the files Fireworks exported on your hard drive. Images and an HTML file are generated in 
the location you specified in the Export dialog box.
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 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 287
.
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.
Note: If you plan to paste the HTML code into 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.