Results 1 to 1 of 1

Thread: AnyLink JS Drop Down Menu v2.3 column issues

  1. #1
    Join Date
    Feb 2008
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default AnyLink JS Drop Down Menu v2.3 column issues

    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:

    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'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=[
    	
    	["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!
    ]
    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.

    Thanks for your help,

    Jerry Kornbluth
    Last edited by keyboard; 11-13-2013 at 05:30 AM. Reason: Format: Code Tags [code][/code]

Similar Threads

  1. Column and Link issues AnyLink JS Drop Down Menu v2.3
    By scottsbt in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-30-2011, 02:26 PM
  2. AnyLink CSS Menu horizontal alignment issues
    By brs in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-09-2011, 10:36 AM
  3. Replies: 3
    Last Post: 07-21-2010, 09:12 AM
  4. column headings added to AnyLink Drop Down Menu v2.0
    By mcarey101 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-03-2009, 11:48 PM
  5. AnyLink CSS Menu Hover Color Issues
    By HaroldM in forum Dynamic Drive scripts help
    Replies: 15
    Last Post: 08-28-2008, 05:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •