Skip to content

Instantly share code, notes, and snippets.

View JustinWinthers's full-sized avatar

Justin Winthers JustinWinthers

  • Herndon, Virginia
View GitHub Profile
// smooth scrolling - just put any element with attribut data-smoothscroll='#idToScrollTo'
// requires jQuery
$(function () {
function (e) {
var target = $(this).attr('data-smoothscroll')
, targetElement = $(target);
JustinWinthers / JSBully-css-shake-tutorial.html
Last active August 29, 2015 13:57
Example from my blog using the CSS Shake Library. Please do not point to my libraries on my JavaScriptBully server. If you copy this gist, download your own versions.
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="Description" content="Test app">
<title>JavaScriptBully CSS Shake Example</title>