Topic: sideNav
*_Expected behavior_*sideNav breakpoint hidden until button clicked*_Actual behavior_*at 1440px sideNav is populating and i only want it to populate when the hamburger is clicked
Resources (screenshots, code snippets etc.)
I would like it to behave like this:
https://mdbootstrap.com/previews/docs/latest/html/navigation/side-nav-hidden-navbar-fixed.html#
but when I update the code to have the html in this url it still doesn't work.
Is there a snippet of this code?
*I am using jQuery Pro
Mateusz Łubianka
staff answered 5 years ago
Hi @JessTBS,
Yes, we have a snippet of this code. Check it out: https://mdbootstrap.com/snippets/jquery/piotr-glejzer/74513
Best,
JessTBS commented 5 years ago
I am still getting the error like i am not using Pro but i downloaded the pro and deleted the free version completely.
Error: Uncaught TypeError: $(...).sideNav is not a function
JessTBS commented 5 years ago
I re-downloaded from my orders. It is still giving the error. Can someone check to make sure I have the correct file under my orders?
Mateusz Łubianka staff commented 5 years ago
@JessTBS, You can open mdb.js file an at the beginning of file you can see comment 'Version: MDB PRO 4...'. If it's not a pro, I'll contact with our team to resolve it. If it is, please show me your code snippet. (styles imports in head, js before closing body tag and sidenav initialization)
Best,
JessTBS commented 5 years ago
It does say MDB PRO 4 so i am not sure what is going on. Here is the nav with the styles and JS.
https://mdbootstrap.com/snippets/jquery/jesstbs/1728108?action=forum_snippet#
JessTBS commented 5 years ago
I found the issue! Thank you for the follow up! You can close this ticket now.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.12.0
- Device: desktop
- Browser: chrome
- OS: mac
- Provided sample code: No
- Provided link: Yes