Skip to content

Instantly share code, notes, and snippets.

View jenshedqvist's full-sized avatar

Jens Hedqvist jenshedqvist

  • Stockholm, Sweden
View GitHub Profile
@jenshedqvist
jenshedqvist / rAF.js
Created June 18, 2012 13:17 — forked from paulirish/rAF.js
requestAnimationFrame polyfill JSLinted and optimized
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller
// fixes from Paul Irish and Tino Zijdel
// JSLinted and optimized by Jens Hedqvist
/*jslint browser: true */
(function (win) {
@jenshedqvist
jenshedqvist / README.md
Created January 13, 2012 09:55 — forked from 140bytes/LICENSE.txt
A slideshow with interval for image carousels and more!

Slideshow and more

A tweet-sized slideshow and DOM show/hide iteration utility.

Features

  • Shows/Hides a collection of DOM-elements with a certain interval
  • Interval delay can be set in ms