Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript selectnav.js for two menus

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #160879

    I have created a responsive site. This site has two menu like main menu and footer menu. I use selectnav.js in main menu for creating a navigation menu. I want to create same navigation menu for footer menu using selectnav.js. But I can’t do that. So, please help to solve this problem. Thank you.

    https:// dl.dropboxusercontent.com/u/211935016/19.01.14_thakur/index.html

    #160888
    Paulie_D
    Member

    I want to create same navigation menu for footer menu using selectnav.js. But I can’t do that.

    I’ll bet you can…what have you tried so far and why didn’t it work?

    #160889

    In fact, here need to use “nav” id in html markup. But you know that I can’t use same id twice in html. Then I try to use another id “nav1” for footer menu. But it’s not working as well.

    Now please tell me how can I solve this? Thank you

    #160890
    Paulie_D
    Member

    Show us the JS etc.

    Perhaps in a Codepen?

    #160891

    Please visit this link:
    http:// lukaszfiszer.github.io/selectnav.js/

    And this is my site where I use it:
    https:// dl.dropboxusercontent.com/u/211935016/19.01.14_thakur/index.html

    No more, I am waiting for your response. Be well.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.