javascript - Toggle menu not working on smartphones -
I have a responsive website that shows a dropdown menu on small resolutions. Or, it should display a toggle button, which jumps at 479 px resolution, but for some reason it does not have to be opened when clicking on it. I am very bad with JS, so I was thinking that someone could help me.
If I understood it properly, there is no JS function that will "make" it ... Again, sorry, I'm not really familiar with JS, I'm still learning.
Thank you to a bunch
Should:
& lt; Script & gt; $ (document) .ready (function () {$ ('menu_trigger'). ('click', function () {$ ('nav') toggle ();});}); & Lt; / Script & gt; Just put it in your section.
Comments
Post a Comment