Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-01-2012, 05:05 PM   PM User | #1
devinmaking
Regular Coder

 
Join Date: Oct 2011
Posts: 236
Thanks: 11
Thanked 5 Times in 5 Posts
devinmaking has a little shameless behaviour in the past
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:

http://jsfiddle.net/robert1981/etLdx/1/

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 05:22 PM.. Reason: showing example
devinmaking is offline   Reply With Quote
Reply

Bookmarks

Tags
javascript, jquery

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:14 PM.


Advertisement
Log in to turn off these ads.