Skip to content

Instantly share code, notes, and snippets.

@nladart
Forked from Prinzhorn/example.js
Created September 18, 2013 18:25
Show Gist options
  • Save nladart/6613348 to your computer and use it in GitHub Desktop.
Save nladart/6613348 to your computer and use it in GitHub Desktop.
jQuery.fn.refresh = function() {
var s = skrollr.get();
if(s) {
s.refresh(this);
}
return this;
};
//Enlarge all the bacon.
$('.bacon').height(10000).refresh();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment