Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

theonion/fartscroll.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fartscroll.js

Everyone farts. And now your web pages can too.

Now with 100% less jQuery! (Sorry, jQuery, we still love you)

Setup:

  1. Include "fartscroll.js" in your page. (You can use the latest from our CDN: //code.onion.com/fartscroll.js)
  2. 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/.

About

You want fart noises as you scroll? We've got you covered.

Resources

License

Stars

Watchers

Forks

Packages

No packages published