Skip to content

Instantly share code, notes, and snippets.

Avatar

Justin Winthers JustinWinthers

  • Hoozip.com
  • Herndon, Virginia
View GitHub Profile
View smoothSroll.js
// smooth scrolling - just put any element with attribut data-smoothscroll='#idToScrollTo'
// requires jQuery
$(function () {
$('[data-smoothscroll]').click(
function (e) {
var target = $(this).attr('data-smoothscroll')
, targetElement = $(target);
@JustinWinthers
JustinWinthers / JSBully-css-shake-tutorial.html
Last active Aug 29, 2015
Example from my blog JavaScriptBully.org 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.
View JSBully-css-shake-tutorial.html
<!doctype html>
<html lang="en">
<head>
<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>
You can’t perform that action at this time.