theniteowl
Programmer
Hi All,
I am looking to put together a script to let someone manage a dynamic navigation menu.
Does anyone have code that will display a listbox and allow the selection and repositioning of options in the listbox with up or down buttons?
Ultimately I will have two listboxes. One box contains a list of top nav menu options and when you click on an option the second listbox will show all the submenu options for that selection. I will need to be able to add/remove options as well as reposition them. I will also have two values for each option, the first being the display text of that option the second being the name of the subfolder it references.
When done making changes the values will submit to a PHP page that will write the values into a file on the server.
This file in included in the main page template and is used to dynamically generate the nav menu.
I am just writing this app to make it easier for the clients to maintain their menu than having to understand and manually modify the values in the include file.
If anyone has existing code that does any portion of the above it would save me some time working out my own from scratch. I have done something like this before but it was a long time ago, an IE only script and probably was written in VBScript so...
At my age I still learn something new every day, but I forget two others.
I am looking to put together a script to let someone manage a dynamic navigation menu.
Does anyone have code that will display a listbox and allow the selection and repositioning of options in the listbox with up or down buttons?
Ultimately I will have two listboxes. One box contains a list of top nav menu options and when you click on an option the second listbox will show all the submenu options for that selection. I will need to be able to add/remove options as well as reposition them. I will also have two values for each option, the first being the display text of that option the second being the name of the subfolder it references.
When done making changes the values will submit to a PHP page that will write the values into a file on the server.
This file in included in the main page template and is used to dynamically generate the nav menu.
I am just writing this app to make it easier for the clients to maintain their menu than having to understand and manually modify the values in the include file.
If anyone has existing code that does any portion of the above it would save me some time working out my own from scratch. I have done something like this before but it was a long time ago, an IE only script and probably was written in VBScript so...
At my age I still learn something new every day, but I forget two others.