Jump to content

Archived

This topic is now archived and is closed to further replies.

psusarah

Fireworks Menus & PHP

Recommended Posts

Hi everyone! I am new here, looking for a little assistance from other PHP developers. I hope that someone could shed some light on this subject. --------------------

I am making a site using Dreamweaver and PHP, using Fireworks for my graphics. I made a navigational bar with some pop-up menus (using the pop-up maker built into Fireworks), but for some reason my submenus change location depending on which site you are on!

Go here to see the example page and [u]read my notes below[/u]:
[a href=\"http://www.candopowersports.com/navbar/specials.php\" target=\"_blank\"]Nav Bar Example[/a]

This nav bar is simple. There are 6 links, Showroom,Store,Specials,Credit, Directions, and Contact Us. Two links, the Showroom and Store, have pop-up menus underneath them. For purposes of showing the example, only 3 pages are working, the 'Specials.php' page, the 'atv.php' page, and the 'parts.php' page.

When you open the page, you will see you are on the specials.php page. I am using PHP to display the white 'over' state depending on which page you are on.
Now, mouseover the 'SHOWROOM' and 'OUR STORE' buttons. See how the menus appear below the buttons? That's how they are supposed to show up. YAY! ok, I will go on.....

Mouseover the 'SHOWROOM' and click on ATVs. You are at the ATV page, but mouseover the SHOWROOM menu again. See, it changes locations!!!! Do the same for the 'OUR STORE' and click Parts page. Now the other one has returned to normal and the OUR STORE menu acts up.

I can't figure out why they are changing like that, unless I'm missing tags or something and it's screwing it up. BTW, I haven't put any closing body or html tags on the pages yet. I am using IE v.6. Any help on this would be appreciated. Thanks in advance!!!!

Sarah

Share this post


Link to post
Share on other sites
You know, you could also do that with Javascript or CSS, thus making your life easier, right?

Share this post


Link to post
Share on other sites
Hi!!! Thanks soo much for the response.

Well, the menu in Fireworks IS written in javascript, which was made for me by the program. The only PHP code I am using is for the actual page content itself, and also to separate the code (meaning if the user clicks on a link such as 'contact us', the button stays in the down state and shows the proper page.
I can provide a code sample if you would like. It is not lengthy. I am unsure how to use CSS.

If there is an easier way to do this, I would sincerely appreciate any ideas. I just figured this was the only way to do it. My only needs are: 1. The page is a dynamic PHP page 2: The nav bar at the top with the drop down menus

So I guess I dont have many pressing needs.
Thanks much for your help! Let me know what you think.


Sarah

Share this post


Link to post
Share on other sites
Try going with a CSS menu. For an example, try looking at css/edge for their implementation of it.

Share this post


Link to post
Share on other sites
Hi!

I will take a look at the tutorials they have on there. Thanks. Do you know if you can use an image instead of just text? I want to use my navigation bar with the images, not just plain text saying 'home', 'directions', etc.


Sarah

Share this post


Link to post
Share on other sites
The CSS menus I dont think will work for what I need. Does anyone have any other ideas?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.