• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

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!
0
ganongj
Asked:
ganongj
1 Solution
 
rockmansatticCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now