Skip to content

This is a few little php scripts that will allow you to store your menu in a database as it generates the menu on the fly when the page loads. You can load menu items according to a security level as well as having just a part of the menu load.

License

Notifications You must be signed in to change notification settings

JohnDovey/Dynamic-Jquery-Menu-from-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Dynamic-Jquery-Menu-from-Database

Create a dynamic menu using jquery and storing the menu items in a database

I like using the jquery slidemenu. I found that I needed a way to make it change dynamically depending on various things.

If you load the SQL file, it will create a menu table, populated with some sample data. Included is a Security level, which you can use to display the menu pieces that are allowed for a particular level.

This works for me... if you can do something with it, let me know..

The "Menu Edit" page is very crude, allowing only addition of items. I hacked it together so I don't have to enter the stuff by hand.. It obviously needs LOTS more functionality such as

  • Move menu items
  • Delete menu items
  • Visually distinguish between levels of the menu
  • etc

If you use this, please let me know so I can see it in action..

Have fun

John Dovey [email protected]

A simple demo of this project is on SourceForge http://dynamicjqueryme.sourceforge.net/

ToDo

  • Move the database to SQLite so it can be local to the webpage/website

About

This is a few little php scripts that will allow you to store your menu in a database as it generates the menu on the fly when the page loads. You can load menu items according to a security level as well as having just a part of the menu load.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published