fartscroll
v1.0.0
Published
Everyone farts. And now your web pages can too.
Downloads
11
Maintainers
Readme
fartscroll.js
Everyone farts. And now your web pages can too.
Now with 100% less jQuery! (Sorry, jQuery, we still love you)
Setup:
- Include "fartscroll.js" in your page. (You can use the latest from our CDN: //code.onion.com/fartscroll.js)
- Initialize the fartscroll plugin once the DOM has loaded:
// Fart every 400 pixels scrolled
fartscroll();
// Fart every 800 pixels scrolled
fartscroll(800);
More info at http://theonion.github.io/fartscroll.js/.