Copying And Pasting From A Fireworks Html File; Javascript; Client-Side Image Maps; Sliced Images - MACROMEDIA FIREWORKS 2-USING FIREWORKS Use Manual

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

Advertisement

Copying and pasting from a Fireworks
HTML file
When copying HTML exported from Fireworks, it is
important to paste it to the correct place within the
destination HTML document.
When copying and pasting Fireworks HTML into
other HTML documents, you do not have to copy the
<HTML> or <BODY> tags. Those tags should already be
included in the destination HTML document.
Note:
Exporting as a Dreamweaver 2 library (.lbi) file
makes copying and pasting HTML unnecessary when
inserted in Dreamweaver.

JavaScript

When Fireworks exports HTML with JavaScript
behaviors, the exported HTML includes JavaScript
code for executing behaviors, as well as all other
necessary HTML. When pasting JavaScript into other
HTML documents, be sure to do the following:
Paste the entire <SCRIPT> section between the
<HEAD> and </HEAD> tags. Be sure that the
script section begins with a <SCRIPT> and ends
with a </SCRIPT>. If a script section already exists
in the destination HTML document, do not copy
the <SCRIPT> tags. Copy the code from the source
script and paste it at the end of the destination
<SCRIPT> section before the </SCRIPT> tag.
Paste the image's link in the <BODY> section where
you want the image to appear on the page.

Client-side image maps

HTML exported by Fireworks for client-side image
maps includes a link to the graphic and <MAP>
information to define the image map's hotspot areas.
When pasting image maps into other HTML
documents, be sure to do the following:
Paste the image's link into the <BODY> section of
the destination HTML document where you want
the image map to appear on the page.
Paste everything in the <MAP> section immediately
after the link to the graphic.

Sliced images

When exporting slices of an image, the HTML
exported by Fireworks includes a table that reassembles
slices on a web page. If you export JavaScript rollovers or
image maps with your slices, then the HTML will also
include JavaScript code and a <MAP> section. When
pasting a sliced graphic into other HTML documents,
be sure to do the following:
Paste all of the <TABLE> section, including the tags,
where you want the sliced graphic to appear on the
page.
Paste any JavaScript into the <SCRIPT> section, or
paste the entire <SCRIPT> section between the </
HEAD> and <BODY> tags.
Paste any <MAP> sections immediately after the </
TABLE> tag for the sliced graphic.
Web Design Features
133

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS 2-USING FIREWORKS and is the answer not in the manual?

This manual is also suitable for:

Fireworks 2

Table of Contents