Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 443 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 443 Bytes

fartscroll.js

Everyone farts. And now your web pages can too.

  1. Include "fartscroll.min.js" in your page.
  2. Initialize the fartscroll plugin on document.ready:
// Fart every 400 pixels scrolled in the document
$(document).fartscroll(); 

// Fart every 800 pixels scrolled in the document
$(document).fartscroll();

More info at http://theonion.github.io/fartscroll.js/.