With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
My site's currently got two navigation menus:
- a main one that guides the users through the main categories of the site
- a secondary one that shows the sub-categories of the category they're in.
Both menus are being generated by php foreach loops (see attached for the code).
I'd like to combine the two menus together to make an expandable menu. These are the things I'd want to implement
- add the sub-menu items into the main menu; the sub-menu items would be dynamically generated for each category in the menu. The menu items will no longer be links; only sub-menu items will link to actual pages.
- make sure that the menu and sub-menu corresponding to the page I'm on gets a class of "active" (this will greatly help me when figuring out the css)
I hope this makes sense. If I've omitted any important details, please let me know. My site runs PHP4.
Sign in or Register to see more