|
|
Copy code from an exported Fireworks file and paste it into another HTML document
Open the Fireworks HTML file you exported in an
HTML editor.
Highlight the necessary code and copy it to the Clipboard.
Open an existing HTML document or create a new one.
Paste the code into 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.
If your Fireworks document contains interactive elements,
copy the JavaScript code.
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.
|