Advertisement
hmbashar

Untitled

Mar 6th, 2016
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.54 KB | None | 0 0
  1. (function($){
  2.     $(document).ready(function() {
  3.    
  4.     jQuery(function ($) {
  5.      
  6.         'use strict';
  7.         // -------------------------------------------------------------
  8.         // OffCanvas-menu
  9.         // -------------------------------------------------------------
  10.      
  11.         (function () {
  12.      
  13.             // Menu settings
  14.             $('#menuToggle, .menu-close').on('click', function () {
  15.                 $('#menuToggle').toggleClass('active');
  16.                 $('body').toggleClass('body-push-toleft');
  17.                 $('#theMenu').toggleClass('menu-open');
  18.             });
  19.      
  20.      
  21.         }());
  22.      
  23.      
  24.     });
  25.    
  26.    
  27. })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement