Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I export changes to menu from FW to DW w/o overwriting all?

Status
Not open for further replies.

keano

Technical User
Mar 2, 2001
40
US
I have made a design and navigation in Fireworks with button that fly out. I went back to the design to add links to the menu in Fireworks but don't know how to export it without overwriting my template?

 
You can use the UPDATE HTML function to update only images or both HTML and images.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am woman, watch me code.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Why am I in this hand basket and where are we going?
 
Dear Keano

One way to Export Firework Files (in your case 'a button that fly out' - I believe this to be a popup menu) is to export it as a HTML file.

The second step is to open this HTML file in Dreamweaver. This file is separate from you Template file.

You'll need to know how to read JavaScript for the next step. See
In your Template File insert a Layer
(Insert>Layout Objects>Layer)

In code format (in dreamweaver), the layer should read read as follows.

<div id="Layer1"></div>

Simply seperate the javascript code, it should look like this:

<div id="Layer1">

</div>

Now go to the other Dreamweaver file (the one you exported as a HTML file from Fireworks) and select the the java script code for the popup menu. If your unsure just copy all the scripts between and including the codes below:

<script language ="JavaScript">
(lots of code should be here- lines and lines of it
</script>

Now Paste it in the Layer you inserted in your Template.
It should look something like:

<div id="Layer1">
<script language ="JavaScript">
(lots of code should be here- lines and lines of it
</script>
</div>

Go back to the design view in Dreamweaver and adjust where you want the popup menu to be.

Hope this helps

David Ghazawy @
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top