No Comments

Magento 2 jquery menu/nav widgets

Cannot see any blocks in Magento2
Magento 2: When Paypal Express will generate Payment Id?

I’m trying to utilize the menu or nav jQuery widget that comes with Magento 2 based on what I’m trying to accomplish. A secondary navigation section that will live on a sidebar element. It’s just a vertical nav, nothing fancy – no ajax or actual calls for data. Just a list of links that needs to collapse for screen real estate’s sake.

It is my understanding that I am going to have to style them, and for time’s sake I’d prefer to utilize whatever will be responsive and require the most minimal styling on my part.

For the life of me I’m unable to get the jQuery to work on page. If someone could shoot me an implementation that is working as a vertical nav that will still render as something usable responsively I’d be forever grateful!

I’m open to pulling in outside js libraries, if that’s the easiest solution.

Related Posts

  • Magento 2 jquery menu/nav widgets (0)
    I'm trying to utilize the menu or nav jQuery widget that comes with Magento 2 based on what I'm trying to accomplish. A secondary navigation section that will live on a sidebar element. It's just a vertical nav, nothing fancy - no ajax or actual calls for data. Just a list of links […]
  • toggle mobile menu programmatically (0)
    I would like to collapse themes mobile menu programmatically. How would I do this in my custom theme. I see the default navigation-menu.js which has a method this._toggleMobileMode();. In my custom js I would like to call this function how would I do this? I try to extend the […]
  • jquery not defined error in magento 2 (1)
    I am trying to bring banner scroll in magento2. I am using owl carousel for this purpose. Everything have done and implemented and is showing in firefox without any errors. But when checked in chrome, i found jquery not defined error. After some diggings, i found we need to use call […]
  • CSS and JS not loading after installing Magento 2, setup:static-content:deploy shows error (1)
    I have recently installed Magento2. CSS and JS not loading after installing Magento 2. I have used composer to install. This magento 2 files I have taken by a checkout from a live website. Also the php magento setup:static-content:deploy command is not working. Running this command […]
  • CSS and JS not loading after installing Magento 2, setup:static-content:deploy shows error (1)
    I have recently installed Magento2. CSS and JS not loading after installing Magento 2. I have used composer to install. This magento 2 files I have taken by a checkout from a live website. Also the php magento setup:static-content:deploy command is not working. Running this command […]
  • conflict JS Jquery (1)
    I Purchased a magento theme named em everything After installing i m having some problems, 1 add to cart not working, 2 ccevenue plugin not woring in one page checkout, so i messaged the theme seller and they replied this Cause of the error is due conflict JS Jquery. Because […]
  • Magento 2 add jQuery on specific page (1)
    I'm using magento 2 and I'm trying to add a content slider on the about us page ,and to do that I need to include the js library , I've tried to do that by adding this <reference name="head"> <action method="addJs"> <script>library.js</script> […]
  • Magento 2: Why are there Multiple Calls to `_.extend` (0)
    The underscore javascript library contains a method named extend. You can use extend to copy properties of one javascript object to another javascript object in a consistent way. These properties can be data, or javascript functions. Magento 2 uses this to give objects methods. […]
  • Difference between _module.less and _extend.less (1)
    Is there any difference between extending a theme using _module.less and _extend.less? And what is the best practice when extending a module/theme? My first thought was it's better to use _module.less when styling a new module, and _extend.less when extending a module. But Luma uses […]
  • Css and Js not load Magento 2 (4)
    Problem: I am installing Magento 2 on live server. While the site displays product info and some of the product images, there are no styles and JavaScript functions don't work. Solution attempts/debugging: I have seen a number of articles on inaccessible css/js files and have […]
Cannot see any blocks in Magento2
Magento 2: When Paypal Express will generate Payment Id?

Be the first to post a comment.

Add a comment