codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Creating Dynamic Menu Structure  rama26 at 14:29 on Saturday, April 15, 2006
 

Hi Pals,
I am using Jsp and database is MYSQL.

I want to creat a menu structure dynamically.I have tabs in my main manu home,menu1,menu2,menu3.

when i click on add new menu ,i need a page asks for menu name,and drop down listing all menu structure asking for which parent menu i want to add this menu.After submission the menu shold be added.Same should happen to to sub level menus also.

for eg

Home Menu1 Menu2 Menu3
..Menu11 ..Menu21
..Menu12 ..Menu22
...Menu221

I will have a link Add new menu.when i click on that a new page should be like

Menu name text box
Parent menu listbox ..consists all the menu structure

when i give a Menu name and select a particular menu from list box that menu should add under that parent menu.Suppose the user clicks on Menu221 and gave menu name as "support" then the menu structure
shold b like this..

Home Menu1 Menu2 Menu3
..Menu11 ..Menu21
..Menu12 ..Menu22
...Menu221
...Support

please advice the database structure


Thanks in advance

Regards
...Rama








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: C++ Beginner question
•  Re: function within loop problem
•  moncler outlet
•  Re: Display swf file in pdf
•  Re: how to create forum using asp.net with c# language?
•  Discount coach store
•  Create Better Maps with Global Mapper
•  Re: How to display a message box when record is temporary stored in session/grid view
•  Sharing object in perl


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2012