PDA

View Full Version : Can AnyLink Drop Down Menu be used as a Directory Listing



BlackStallion
08-27-2009, 09:33 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 am looking for a solution that would allow me to read the the following array and display the links as a table of contents for a directory page. How can I accomplish this?


var anylinkmenu2={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#FDD271', linktarget:'_new'} //Second menu variable. Same precaution.
anylinkmenu2.items=[
["CNN", "http://www.cnn.com/"],
["MSNBC", "http://www.msnbc.com/"],
["Google", "http://www.google.com/"],
["BBC News", "http://news.bbc.co.uk"] //no comma following last entry!
]

ddadmin
08-28-2009, 06:14 AM
Hmm not quite sure what you mean. Are you asking how to write out the menu contents as just a list of links on the page?