Exporting from Fireworks 363
3.
Paste the HTML code. Refer to the help system within your specific HTML editor for
instructions on pasting contents from the Clipboard.
When pasting code into HTML editors, it is important to keep images and HTML files
in the correct location, or links could be broken. If possible when you copy to the
Clipboard, make sure images are exported to the final location where they will reside on
the website. Fireworks uses document-relative URLs, so if the HTML or images are
moved, the URL links are broken.
Copying and pasting HTML from an exported Fireworks file
You can open exported Fireworks HTML in an HTML editor and copy and paste sections of
code into another HTML file.
To copy code from an exported Fireworks file and paste it into another HTML
document:
1.
Open the Fireworks HTML file you exported in an HTML editor.
2.
Highlight the necessary code and copy it to the Clipboard.
3.
Open an existing HTML document or create a new one.
4.
Paste the code from the Clipboard at the desired location in the new HTML file. You do
not have to copy the
<HTML>
and
<BODY>
tags, because these should already be included in
the destination HTML document.
If you chose Include HTML Comments in the HTML Setup dialog box in Fireworks,
follow the instructions in the comments to copy and paste the code into the appropriate
location.
5.
If your Fireworks document contains interactive elements, you’ll need to copy the
JavaScript code as well.
JavaScript code is surrounded by
<SCRIPT>
tags and is located in the
<HEAD>
section of
the document. Copy and paste the entire
<SCRIPT>
section, unless your destination
document already has a
<SCRIPT>
section. In this case you should copy and paste only the
contents of the
<SCRIPT>
section into the existing
<SCRIPT>
section, being careful not to
overwrite the contents of the existing section. Also ensure there are no duplicate JavaScript
functions in the
<SCRIPT>
section after you paste the 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...