Jump to content

menu php


onthespot

Recommended Posts

[quote author=onthespot link=topic=104141.msg415208#msg415208 date=1155517476]
is there anyway, i can make a menu where is updates through php?? so i can add parts to it using php, instead of redesigning the whole thing?
[/quote]

Yes.

However, as Pixy stated, you need to be more specific.  Are you pulling from a db?  Are you using JS?  What is the structure of your existing menu?  What do you want the result to be?  Do you have any code that you have tried so far?  If so, what isn't working about it?
Link to comment
Share on other sites

sorry guys, ok i havent got the menu atm as im starting a fresh, but ive never done this kind of thing with php! i want to have a menu with parent navigation menu, with sub menus coming off them! so a menu on the left, when u hover over, and second menu pops up to the right of it inline! i want to be able to update this through a DB???
Link to comment
Share on other sites

Look for any one of the thousands of JS menu scripts, then just build it's input from the database using php.

I usually use this one from dhtmlgoodies.com:

http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-menu2/dhtmlgoodies-menu2.html

Which is on his menu scripts page here:

http://www.dhtmlgoodies.com/index.html?page=menuScripts

It's built using unordered lists, so it's easy to build with a recursive function.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.