MACROMEDIA FIREWORKS 2-USING FIREWORKS Use Manual page 131

Hide thumbs Also See for FIREWORKS 2-USING FIREWORKS:
Table of Contents

Advertisement

Dreamweaver Library.lbi—
as library objects within Dreamweaver. Use library
items in Dreamweaver for content that appears on
many pages in your site, for content that must be
updated frequently, and for rapid prototyping. Library
files must have an ".LBI" extension and must be located
in a folder named Library at the site root.
This style is easy to edit in Microsoft
FrontPage—
FrontPage.
This style adheres to basic HTML standards,
Generic—
but favors no particular HTML editor.
Exporting as Files and CSS layers
Use the File > Export Special > Export as Files command
to export individual images. Use the Files From pop-up
to export images from layers, slice objects, and frames as
individual export files.
Export as CSS Layers to create an HTML document
with Cascading Style Sheet (CSS) layers. Use CSS layer
information in an HTML editor such as Dreamweaver
to precisely position and animate objects.
Editing Fireworks HTML output styles
Add, remove, or edit HTML output styles by making
changes to templates located in the
Fireworks 2\Settings\HTML Code folder. Template
files are written in JavaScript, which is executed by
Fireworks during export.
This style imports objects
Edit Fireworks output styles to customize HTML
exported by Fireworks. In addition, use JavaScript to
create dialog boxes or alerts when exporting. For
example, you could create a dialog box that allowed you
to enter a custom title for the HTML page exported, or
to output different HTML code for specific tasks.
To
Do this
Add an output style Create, duplicate, or place a
new folder in the
Fireworks 2\Settings\HTML
Code folder. Place copies of
the Imagemap.htt, slices.htt,
and ServerMap.mtt files in the
new folder.
The folder name determines
the name of the style as it
appears in the HTML Output
pop-up
Remove an output
Delete the folder of the
style
unwanted style from the
Fireworks 2\Settings\HTML
Code folder.
Edit an output style 1. In the
Fireworks 2\Settings\HTML
Code folder, open the folder
of the style you want to
edit.
2. Open the document in a
text editor, make changes,
and save.
Be sure to use the same name
and path when saving the
document.
Template files are written in JavaScript. Therefore, a
working knowledge of JavaScript is required to
successfully edit a template. If an edited template file
contains any errors in the JavaScript, the export process
stops. Fireworks does not correct JavaScript errors; it
only executes valid JavaScript when exporting.
Web Design Features
131

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks 2

Table of Contents