I have developed a site administration utility for some of my sites using MySQL to store each pages content and CMS to edit the content of these pages.

In other words, instead of creating 20+ .html/.php files, I simply have one page that calls the data and diplays it upon demand (click of the mouse).

Now, I would like to take things to another level, but I am having trouble finding a good solution.

I want to be able to code a dynamic menu system, So when I decide that I need a new web page I do not have to recreate or append my site navigation.

Has anyone done this before, or have a good seggestion?

Typically, My navigation menus have consisted of custom images and other javascript heavy elements. I want to stray from this... browser combatability is too much to keep up with.

Ofcouse, I am also worried about how to display the new navigation.
Plain Text maybe with some CSS seems to be the only solution - can't create a cutomized image of the fly..

If you could help me understand how i might be able to accomplish this, i would really appreciate your help.

Thank-you

    Well, let me ask for some details.

    Are you looking for a menu that could be structurally variable as well as have variable contents and links? Say, the ability to do either sideways or horizontal?

    If you're just looking for a single format menu with variable content and looks, it'd be a snap to make it database driven. Make a table that held say, one "link" config per row. Image location, link location, menu item text, that sort of thing. You could even manage things like basic Javascript from that config row...the sky's the limit if you feel like coding in the conditional logic. Need a new link, add another row.

    Am I anywhere close to what you're referring to?

      rane500,

      If you're just looking for a single format menu with variable content and looks, it'd be a snap to make it database driven. Make a table that held say, one "link" config per row. Image location, link location, menu item text, that sort of thing. You could even manage things like basic Javascript from that config row...the sky's the limit if you feel like coding in the conditional logic. Need a new link, add another row.

      Those thoughts were right on target... I considered coding things like that.

      But i was a little scared to jump right into things.

      Thanks.. I may ask another question or two along the way.

      Thanks again.

        Write a Reply...