Solved

FireWorks pop-up menu importing in Dreamweaver

Posted on 2003-11-17
7
266 Views
Last Modified: 2010-04-25
I've created a navigationbar with pop-up menu's using FireWorks MX. I want to put it on op of every page of my site. The site is kind of large (800+ pages). So, if I make a change to the navigationbar I have to update 800+ pages.
Putting the navigationbar in a frame won't work, because of the pop-up menu's. I tried to export the file as a Dreamweaver Library file, but then the pop-up menu's don't work.
Does someone know an easy and quick way to do this?
Thanks!
0
Comment
Question by:Rainman33
7 Comments
 
LVL 23

Accepted Solution

by:
adilkhan earned 63 total points
Comment Utility
Rainman33 Your Server Supoorts Languages such asp. Php?
if yes then all you have to do is Include the File on the Top of Every Page like this
<!-- #include file = "pop.htm" -->

and then when you make a change to pop.htm Changes will happen to the Whole Website automatically.

0
 
LVL 1

Expert Comment

by:ktrimmer
Comment Utility
Not quite sure how to get around updateing 800+ pages by hand. Unless you created them with a template. I would recomend from here on out, create a template in DW. Then every page you create create from the template. Then next time this happens, you can just update the template and it should filter out to all pages.
0
 
LVL 19

Assisted Solution

by:webwoman
webwoman earned 62 total points
Comment Utility
Better yet to do server side includes. Your server needs to support it, and you need to use it CORRECTLY -- you do NOT want to include an entire HTML page. You only want the menu and the javascript for it.

Actually, it's better to do TWO includes -- one for the javascript and one for the menu table. I know the Fireworks export has an external javascript, so that's already done for you.

I suspect that's why your template doesn't work -- you don't have the javascript included, and that's what makes it work in the first place.

Again (and I know I beat this to death, but it's IMPORTANT) -- if you use tools that generate code and do not understand what they generate and how it works, you will ALWAYS have these types of problems, and you WILL NOT know how to fix them until you learn what is actually happening and WHY.

If you have 800+ pages, I strongly suggest you learn SSI and databases, because you could probably have half that number of pages and 1/4 of the maintenance.
0
 
LVL 3

Expert Comment

by:Craig Sharp
Comment Utility
Server side includes are probably your best route to go.  My latest project is done in ColdFusion and I use cfinclude to do exactly what you are describing.  Of course, this is all template based for each new page.  The issue is that you will need to still modify all of your pages to use the include.  Once you have completed that nasty task, you can then modify the single file to make changes to the site.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now