Export Fireworks to Dreamweaver: Replacing Old Fireworks File Throughout Site

My question is this. I have created a Nav Bar in Fireworks that has six pop-up menus with varying numbers of links. This file will change throughout time, as links need to be added, changed, deleted, etc.

I know how to export and insert into a Dreamweaver page. However, it is my intent to have this Fireworks file (the nav bar) on every page throughout the site. I don't want to have to insert the Fireworks file on every page each time I change it. How do I export so that it replaces the Fireworks file on every page throughout the site?
Or, do I just send the Fireworks file to the server, and it will replace all instances on the server side.

I'm new to the pop-up menu stuff, and Fireworks offers an easy way to create and design a nice nav bar, but again, I don't want to have to load it onto 100 page every time I change links within Fireworks

Thanks!
LVL 4
ganongjAsked:
Who is Participating?
 
rockmansatticConnect With a Mentor Commented:
TO include it in a DW page, I would export it from FW to the same level as your website (that way your images will be correctly placed)
Then I would copy paste the code to an includes file (name is something like main_menu.php)
assume you can use php.
then in your pages of your site, you can call the includes file and place where you want it like this
<? include("/includes/main_menu.php") ?>

Or if you use ASP
then like this

<!-- #include file="../includes/main_menu.asp" -->

this way, you only need to change one file and then upload that includes file to teh server.

Rockman
0
All Courses

From novice to tech pro — start learning today.