PDA

View Full Version : Using an external menucontents file for multi-level menus



Kaigi
07-16-2010, 08:37 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 need to create a multi-level menu and it would be ideal if I could keep the menu links/contents in a separate file like how it is done in this sample script. I've noticed that there is a commented line in the html file

//anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu)
Can I make use of this?

I didn't find any samples of multi-level menus that used a separate file like menucontents.js to store the links.

Thanks,

ddadmin
07-19-2010, 08:40 AM
Flex Level drop down menu (http://www.dynamicdrive.com/dynamicindex1/flexdropdown.htm) supports multiple levels and also the ability to have its contents defined in a separate .js file. See the supplementary page for more info: http://www.dynamicdrive.com/dynamicindex1/flexdropdown_suppliment.htm