Applying snap.js to my main content wrapper seems to break *some* of my jQuery functions
问题 I'm using snap.js which enables you to slide your main content div over using css3 and javascript, revealing a menu underneath. The problem I am having is that when I apply the class snap-content , which tells snap.js which div to slide, that being my main site wrapper, the elements relying on jQuery for their sizing behave unexpectedly. Here's my situation. I'm using jQuery to make an element fixed when scrolling past a certain point: jQuery(document).ready(function ($) { $(window).scroll