(2 intermediate revisions by the same user not shown) | |||
Line 40: | Line 40: | ||
// Set up nav items. | // Set up nav items. | ||
$nav_a | $nav_a | ||
− | + | // .scrolly({ offset: 44 }) | |
.on('click', function(event) { | .on('click', function(event) { | ||
Line 80: | Line 80: | ||
// Initialize scrollzer. | // Initialize scrollzer. | ||
− | + | // $.scrollzer(ids, { pad: 300, lastHack: true }); | |
// Off-Canvas Navigation. | // Off-Canvas Navigation. | ||
Line 107: | Line 107: | ||
// Fix: Remove navPanel transitions on WP<10 (poor/buggy performance). | // Fix: Remove navPanel transitions on WP<10 (poor/buggy performance). | ||
− | if (skel.vars.os == 'wp' if (skel.vars.osVersion < 10) | + | if (skel.vars.os == 'wp') { if (skel.vars.osVersion < 10){ |
$('#titleBar, #header, #wrapper') | $('#titleBar, #header, #wrapper') | ||
− | + | .css('transition', 'none')}}; | |
}); | }); |
Latest revision as of 09:56, 15 October 2017