Generating JavaScript menus on-the-fly
| From: | Ken Kixmoeller | Date: | Fri, 07 Mar 2008 21:01:58 +0000 |
| Subject: | Generating JavaScript menus on-the-fly | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-271148@lists.php.net to get a copy of this message | ||
Hey - - -- - -- --
I keep a profile of a user's rights and responsibilities in tables. Since this profile defines what a user can do in the system I am designing, I'd like to build a JavaScript menu navigation scheme. I need it to be driven programmatically, because the Admin users can add and remove tasks to the system or to a given user at-will.
I already built a similar thing using CSS-only menus, but it just wasn't aesthetically flexible enough. I am exploring other options, but I am wondering if any of you have done something similar and have any samples or advice.
Ken