Where is the code for the js-mobile-navigation?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lesliekirk
    Super Moderator











    • Aug 2008
    • 9290

    #1

    Where is the code for the js-mobile-navigation?

    For some reason, I can't find where the code is for the mobile navigation is at. I could have sworn someone else had already posted this but nothing is coming up when I try searching the forums for it.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: X | Facebook | Pinterest
  • Matt Zimmermann
    Mega Mivite










    • Apr 2008
    • 2482

    #2
    That is contained in the plugins.js file
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment

    • lesliekirk
      Super Moderator











      • Aug 2008
      • 9290

      #3
      Originally posted by Matt Zimmermann View Post
      That is contained in the plugins.js file
      Can I create a send menu to just be used for mobile?
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: X | Facebook | Pinterest

      Comment

      • Matt Zimmermann
        Mega Mivite










        • Apr 2008
        • 2482

        #4
        I am not sure what you mean by a send menu.
        Matt Zimmermann

        Miva Web Developer
        Alchemy Web Development
        https://www.alchemywebdev.com
        Site Development - Maintenance - Consultation

        Miva Certified Developer
        Miva Professional Developer

        https://www.dev4web.net | Twitter

        Comment

        • lesliekirk
          Super Moderator











          • Aug 2008
          • 9290

          #5
          LOL - typo - second or alternate menu. Yeah alternate is a better word for what I need to do.
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: X | Facebook | Pinterest

          Comment

          • Matt Zimmermann
            Mega Mivite










            • Apr 2008
            • 2482

            #6
            You should be able to create a new navigation set, insert the code where you want it, and set it to be hidden over whatever viewport size you want.
            Matt Zimmermann

            Miva Web Developer
            Alchemy Web Development
            https://www.alchemywebdev.com
            Site Development - Maintenance - Consultation

            Miva Certified Developer
            Miva Professional Developer

            https://www.dev4web.net | Twitter

            Comment

            • lesliekirk
              Super Moderator











              • Aug 2008
              • 9290

              #7
              Yes, but what happens to the current navigation?
              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: X | Facebook | Pinterest

              Comment

              • Matt Zimmermann
                Mega Mivite










                • Apr 2008
                • 2482

                #8
                If you are looking to replace what becomes the mobile navigation, you would place the new code in the containing element and edit the JavaScript to remove the cloning function.
                Matt Zimmermann

                Miva Web Developer
                Alchemy Web Development
                https://www.alchemywebdev.com
                Site Development - Maintenance - Consultation

                Miva Certified Developer
                Miva Professional Developer

                https://www.dev4web.net | Twitter

                Comment

                • lesliekirk
                  Super Moderator











                  • Aug 2008
                  • 9290

                  #9
                  I want it to function just like the "cloned" navigation, just with different links.

                  I created the Navigation Set using the same template code from the Navigation Set that is in use - I want the one I created to function just like it on the smaller screens.

                  I replaced the
                  Code:
                  <div id="js-mobile-navigation" class="mobile-navigation"></div>
                  with my token
                  Code:
                  <mvt:item name="readytheme" param="navigationset( 'mobile_nav_bar' )" />
                  It's sort of there but I'm sure the javascript cloning function isn't helping it any. So I'm lost now.
                  Leslie Kirk
                  Miva Certified Developer
                  Miva Merchant Specialist since 1997
                  Previously of Webs Your Way
                  (aka Leslie Nord leslienord)

                  Email me: [email protected]
                  www.lesliekirk.com

                  Follow me: X | Facebook | Pinterest

                  Comment

                  • Matt Zimmermann
                    Mega Mivite










                    • Apr 2008
                    • 2482

                    #10
                    Since it might get involved in looking for a solution, I would recommend contacting Professional Services to have a developer look over/assist with the coding.
                    Matt Zimmermann

                    Miva Web Developer
                    Alchemy Web Development
                    https://www.alchemywebdev.com
                    Site Development - Maintenance - Consultation

                    Miva Certified Developer
                    Miva Professional Developer

                    https://www.dev4web.net | Twitter

                    Comment

                    • lesliekirk
                      Super Moderator











                      • Aug 2008
                      • 9290

                      #11
                      I will be soooo happy when everything is plug and play
                      Leslie Kirk
                      Miva Certified Developer
                      Miva Merchant Specialist since 1997
                      Previously of Webs Your Way
                      (aka Leslie Nord leslienord)

                      Email me: [email protected]
                      www.lesliekirk.com

                      Follow me: X | Facebook | Pinterest

                      Comment

                      • lesliekirk
                        Super Moderator











                        • Aug 2008
                        • 9290

                        #12
                        I still would love to see if there is a simple hack that I can make to the javascript to tell it to use a different ReadyTheme Navigation Set but I can't seem to see where the javascript is telling the mobile nav bar which ReadyTheme Navigation Set. Or do I need to set something up to switch the ReadyTheme navigation set based on the screen size? Yeah, I can see where that might get complicated.
                        Leslie Kirk
                        Miva Certified Developer
                        Miva Merchant Specialist since 1997
                        Previously of Webs Your Way
                        (aka Leslie Nord leslienord)

                        Email me: [email protected]
                        www.lesliekirk.com

                        Follow me: X | Facebook | Pinterest

                        Comment

                        • Matt Zimmermann
                          Mega Mivite










                          • Apr 2008
                          • 2482

                          #13
                          Hi Leslie,

                          Without digging into the code, there is no simple hack with the way the Suivant navigation is coded and configured.
                          Matt Zimmermann

                          Miva Web Developer
                          Alchemy Web Development
                          https://www.alchemywebdev.com
                          Site Development - Maintenance - Consultation

                          Miva Certified Developer
                          Miva Professional Developer

                          https://www.dev4web.net | Twitter

                          Comment

                          Working...
                          X