Answer the question
In order to leave comments, you need to log in
How to set up slideout.js?
Greetings.
There is a menu script - slideout.js with instructions . Everything seems to be elementary, but it does not work out in any way. I do everything according to the instructions.
jsfiddle.net/weranda/ma4pvg5p
Any ideas?
Answer the question
In order to leave comments, you need to log in
If you want to click on the button, then you forgot something:
document.querySelector('button').addEventListener('click', function() {
slideout.toggle();
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question