1) Script Title: AnyLink JS Drop Down Menu v2.3 columns
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pmenuindex.htm
3) Describe problem:
I'm trying to sort out the multiple column option and keep ending up with a long list of links regardless of browser.
here's what I've done...
Based on the example code in menucontents.js:
I've carefully cut and pasted my own links into the code like this:Code:var anylinkmenu3={divclass:'anylinkmenucols', inlinestyle:'', linktarget:'secwin'} //Third menu variable. Same precaution. anylinkmenu3.cols={divclass:'column', inlinestyle:''} //menu.cols if defined creates columns of menu links segmented by keyword "efc" anylinkmenu3.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/", "efc"], ["CNN", "http://www.cnn.com/"], ["MSNBC", "http://www.msnbc.com/"], ["Google", "http://www.google.com/"], ["BBC News", "http://news.bbc.co.uk", "efc"], ["News.com", "http://www.news.com/"], ["SlashDot", "http://www.slashdot.com/"], ["Digg", "http://www.digg.com/"], ["Tech Crunch", "http://techcrunch.com"] //no comma following last entry! ]
I can't find any coding mistakes, but I still end up with a long list of links instead of 3 columns. I think that it may have something to do with the length of the individual links (they wrap around DreamWeaver), but can't seem to solve the issue.Code:var anylinkmenu3={divclass:'anylinkmenucols', inlinestyle:'', linktarget:'secwin'} //Third menu variable. Same precaution. anylinkmenu3.cols={divclass:'column', inlinestyle:''} //menu.cols if defined creates columns of menu links segmented by keyword "efc" anylinkmenu3.items=[ ["Breeding Stock", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Breeding+Stock&lfield16_keyword=Available"], ["Companion", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Companion&lfield16_keyword=Available"], ["Equipment", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Equipment&lfield16_keyword=Available"], ["Personal Protection", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Personal+Protection&lfield16_keyword=Available", "efc"], ["Police Dual Purpose", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Police+Dual+Purpose&lfield16_keyword=Available"], ["Single Purpose","http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Police+Single+Purpose&lfield16_keyword=Available"], ["Puppies","http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Puppies&lfield16_keyword=Available"], ["Services","http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Services&lfield16_keyword=Available", "efc"], ["Show", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Show&lfield16_keyword=Available"], ["Young-Green", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Young+Green&lfield16_keyword=Available"], ["Wanted", "http://www.k-9classifieds.com/cgi-bin/lmanager/exec/search.cgi?search=1&perpage=10&sort_order=-11,123,reverse&marknew=30&lfield10_keyword=Wanted&lfield16_keyword=Available"] //no comma following last entry! ]
Thanks for your help,
Jerry Kornbluth



Reply With Quote
Bookmarks