I'm writing a site that is going to have several different sections to the navigation frame:
Standard user's section
Reviewer user's section
Admin user's section
Each section will have it's own functions.
My problem lies in that as an admin user you get all three menus displayed down the nav frame:
| | |
| | |
| | |
| nav | main |
| | |
| | |
| | |
In order to cut this down I wish to be able to minimise each one of the menus by click on it's title.
I've seen this done before with Javascript and layers, showing and hiding them.
I'm not of the JavaScript needed to make each menu collapsable.
I'm sure I can just echo or print the javascript from the PHP page but need to know what I need to echo.
Any ideas guys and gals?
The menu collapsed will look something like:
|Reveiwer|
|Default |
|Admin |
and with say the default menu expanded:
|Reviewer|
|Default |
|item1 |
|item2 |
|item3 |
|ect4 |
|Admin |
Any questions on what I mean or suggestions on how to do it, please reply or mail me.
Cheers all.