Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Oct 2011
    Thanked 5 Times in 5 Posts

    Problem with jquery converting lists into options

    Hi guys i have a few navigations on 1 page on wordpress.

    I can get this to work 99% but for some reason its listing all li on 1 option if there is a child li within an li.

    For instance:


    As you can see when there is a child list within a list it shows:

    link here Link 1 Link 2 Link 3 Link Here

    The reason i am needing this is because in my wordpress theme, it has 3 menus on 1 of the pages, and when its in mobile view i want it to be a dropdown box.

    I can get this to work using this: http://jsfiddle.net/robert1981/8YAvy/3/

    But only for 1 menu on 1 page, not multipul menus on a page

    Solved this myself http://jsfiddle.net/robert1981/etLdx/1/
    Last edited by devinmaking; 10-01-2012 at 06:22 PM. Reason: showing example


Tags for this Thread

Posting Permissions

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