Skip to content

neilkennedy/fartscroll.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fartscroll.js

Everyone farts. And now your web pages can too.

  1. Include "fartscroll.js" in your page.
  2. Initialize the fartscroll plugin once the DOM has loaded:
// Fart every 400 pixels scrolled in the document
fartscroll(document); 

// Fart every 800 pixels scrolled in the document
fartscroll(document, 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

Releases

No releases published

Packages

No packages published