PDA

View Full Version : All Levels Navigtional Menu - Sub Sub Menu need to generate dynamically like Sub Menu



iddsanthosh
10-22-2009, 04:22 AM
1) Script Title: All Levels Navigational Menu (v2.2)

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm

3) Describe problem:
I want to add sub sub menu dynamically like sub menu. i.e.. in this script we adding sub menu to corresponding top menu with reference of "rel" attribute.
like above mention i want to add sub sub menu also.

can any one help me to solve this?

Thanks in Advance.

Regards,
Santhosh

ddadmin
10-26-2009, 11:39 PM
Not sure I understand what you're trying to do actually. The "rel" attribute is only necessary to match the top level menu items with the desired sub menus, which are two separate UL elements. For each sub menu, you define additional sub menus just by nesting more ULs within the same UL, so there's no need/ reason to use the "rel" attribute to do any matchmaking here.

iddsanthosh
10-27-2009, 03:36 AM
First, i would like to thank for reply!

Actually, I am trying to make menu from Database.

1. Generating Top Menu done.
2. Generating Sub Menu also done by using "rel" given in top menu.
(i.e: "rel" attribute like parent id of each sub menu)
3. Now the problem is generating sub sub Menu. if i put nested <ul>.
how can i generate dynamically. B'coz i dont know exactly sub menu has sub sub menu or not.

4. So, top menu to sub menu we have relation with use of "rel". like that any other option for generating sub sub menu?

FYI: I am developing Menu in Struts framework

Thanks in Advance
Santhosh