Screw, a phrase I re-coined from scroll + view, is a jQuery plugin which masses HTML as a consumer scrolls the webpage. Screw will show you how to save bandwidth by solely loading content material as it’s scrolled into view. Screw may also be used to create constantly scrolling, bottomless pages the place content material is appended to the underside because the consumer scrolls.
jQuery.Screw to load pictures when the picture is within the viewport. Any photographs that are positioned contained in the viewport when the webpage masses are loaded instantly. Pictures positioned under the viewport usually are not loaded till every picture is scrolled into view. To stop a picture from loading instantly when the webpage masses, you will need to present adequate padding or further content material so the picture shouldn’t be contained in the viewport.