Skrollr – image not in sync

When using Skrollr I recently noticed that if you’re using ”$(document).ready(function(){ skrollr.init(); }) ” when calling the script, all the images might not have been loaded. This can lead to images beeing unsynced when scrolling. By changing to ”$(window).load(function() {skrollr.init();})” the problem is solved. This is beacuse window.load is not true until all images and content is loaded =)

Annonser