PDA

View Full Version : AnyLink JS Drop Down Menu v2.2



piiwi
07-20-2009, 02:09 PM
1) Script Title: AnyLink JS Drop Down Menu v2.2

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

3) Describe problem:
I used AnyLink JS Drop Down Menu v2.2 code to make submenu. How can i add submenu in submenu? I didn't found completed code for this problem. I donīt know anything about JavaScript so sorry about stupid question and bad english

Code:

var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:''} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
["Dynamic Drive", "http://www.dynamicdrive.com/"],
["CSS Drive", "http://www.cssdrive.com/"],
["JavaScript Kit", "http://www.javascriptkit.com/"],
["Coding Forums", "http://www.codingforums.com/"],
["JavaScript Reference", "http://www.javascriptkit.com/jsref/"] //no comma following last entry!
]

["Dynamic Drive", "http://www.dynamicdrive.com/"],
I want to make new submenu here.

ddadmin
07-20-2009, 05:44 PM
The script doesn't support more than 1 level of sub menus actually. You may want to look at All Levels Menu (http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm) instead.