[go: up one dir, main page]

Menu

[21067d]: / js / main.js  Maximize  Restore  History

Download this file

19 lines (16 with data), 526 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
(function() {
$(document).ready(function() {
$('.menu').click(function() {
var navPosition;
navPosition = $(this).attr('data-position');
$('nav.' + navPosition + '').addClass('open');
$('body').addClass('menu-open');
return false;
});
return $(document).click(function() {
$('body').removeClass('menu-open');
return $('nav').removeClass('open');
});
$(".scrollable").scrollable({ vertical: true, mousewheel: true });
});
}).call(this);