Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theonion/fartscroll.js
You want fart noises as you scroll? We've got you covered.
https://github.com/theonion/fartscroll.js
Last synced: about 2 months ago
JSON representation
You want fart noises as you scroll? We've got you covered.
- Host: GitHub
- URL: https://github.com/theonion/fartscroll.js
- Owner: theonion
- License: mit
- Archived: true
- Created: 2013-04-16T15:23:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-12-29T04:57:02.000Z (over 5 years ago)
- Last Synced: 2024-07-04T02:57:48.865Z (3 months ago)
- Size: 195 KB
- Stars: 2,830
- Watchers: 77
- Forks: 240
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dev-fun - fartscroll.js - Everyone farts. And now your web pages can too. (JavaScript)
README
# 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](http://code.onion.com/fartscroll.js))
2. Initialize the fartscroll plugin once the DOM has loaded:```javascript
// Fart every 400 pixels scrolled
fartscroll();// Fart every 800 pixels scrolled
fartscroll(800);
```
More info at [http://theonion.github.io/fartscroll.js/](http://theonion.github.io/fartscroll.js/).