Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

JessTBS free asked 4 years ago


*_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 4 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 free commented 4 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 free commented 4 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 4 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 free commented 4 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 free commented 4 years ago

I found the issue! Thank you for the follow up! You can close this ticket now.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: 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