Last active
March 4, 2019 19:54
-
-
Save Prroffessorr/d3b425aab3a3327f9f29899ec46a20a6 to your computer and use it in GitHub Desktop.
Блок для выполнения кода на jQuery только после полной загрузки станицы
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( document ).ready(function() { | |
/*Your code must be here | |
it's exept intresting situation what happens with jQuery*/ | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.menu-btn').on('click',function(e){ | |
e.preventDefautl(); | |
$(this).toggleClass('menu-btn-active'); | |
$('.menu').toggleClass('.menu-active'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment