Results 1 to 2 of 2

Thread: Multiple Level Drop Down Menus with Arrays?

  1. #1
    Join Date
    Aug 2011
    Thanked 0 Times in 0 Posts

    Post Multiple Level Drop Down Menus with Arrays?

    1) Script Title: AnyLink Drop Down Menu

    2) Script URL (on DD):

    3) Describe problem:
    I spent a few days trying to create dropdown menus for this webpage. I went back to some old AnyLink Drop Down Menu code that I had used previously to make the menu work properly. I was wondering if there is a way to create a multiple layer drop down menu using the same/similar code with arrays. I've mainly seen it imlemented with li.

    I've uploaded this test page to the URL. If anyone thinks they may have a solution please take a look:

    I'm sorry if this hasn't been explained very well but I really appreciate any help someone can provide.

  2. #2
    Join Date
    Mar 2005
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries


    Generally li's or something on the page that you can actually see if javascript is unavailable are the way to go. That way search engines can index the site and non-javascript users can still find the content.

    But if you really like arrays for some reason and are willing to put up with the drawbacks (in addition to no SEO and no non-javascript utility, with multilevel menus the arrays get quite complex), there are several older scripts around that use them. At least some of these have issues in newer browsers. At least some of those have been addressed already in these forums. If you search on the name of the menu, you may find bug fixes. We don't support them much because they aren't written by Dynamic Drive or by anyone who frequents these forums. That said, here are some:

    That last one might still be supported by the author.
    - John

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate


Posting Permissions

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