Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- toggleMenu();
- $(window).on('resize', function() {
- toggleMenu();
- });
- function toggleMenu() {
- var $windowWidth = $(window).width();
- if (windowWidth <= 1024) {
- $('#toggle').click(function() {
- $('.hide').slideToggle('slow').addClass("show");
- return false;
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement