Published by .Filed under Uncategorised. Total of no comments in the discussion.
$('html').attr('id', 'skrollr-body'); $(function () { // initialize skrollr if the window width is large enough if ($(window).width() > 800) { var s2 = skrollr.init(); } $(window).on('resize', function () { if ($(window).width() sticky) { header.classList.add("sticky"); } else { header.classList.remove("sticky"); } }