Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
COLABORATI / typeform-velocity.js
Created Jun 28, 2016 — forked from nathanhornby/typeform-velocity.js
Scroll to active field in form (typeform style animation) using velocity.js
View typeform-velocity.js
// Insert into some kind of 'focus' action
var parent = $(this).parent().parent('.fieldWrap'); // Target a wrapper
// Reset active state
// Add active state to current field
COLABORATI / scroll2.js
Created Jun 28, 2016 — forked from nathanhornby/scroll2.js
Velocity.js jQuery smooth scroll to #id
View scroll2.js
/* Scroll2
Takes one argument, `speed`. Defaults to 500.
$('.scroll2').scroll2(); // <a href="#contact" class="scroll2">Contact me</a>
$('#scrollToTop').scroll2(700); // <a href="#header" id="scrollToTop">Scroll to top</a>
View Magnific Popup + Animate.css.markdown
COLABORATI / magnific-velocity.js
Created Jun 20, 2016 — forked from nathanhornby/magnific-velocity.js
Magnific popup with velocity.js animation boilerplate
View magnific-velocity.js
items: {
src: '#popup',
type: 'inline'
removalDelay: 400,
callbacks: {
open: function () {
this.content.velocity('transition.slideDownIn', {
duration: 400
COLABORATI / wp-setup-joints
Created Oct 4, 2015
setup theme and change bower_components path to com
View wp-setup-joints
# setup the zurb foundation wordpress theme
echo 'This script will: '
echo '* git clone the wordpress theme into a given directory'
echo '* checkout into a new branch called dev-local'
echo '* replace the default bower_components directory with "com"'
echo 'Use this command in your wordpress theme directory - no checks !!!'
if [ -z "$1" ]
You can’t perform that action at this time.