Skip to content

Instantly share code, notes, and snippets.

COLABORATI

Block or report user

Report or block COLABORATI

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@COLABORATI
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
$('.fieldWrap').removeClass('active');
// Add active state to current field
parent.addClass('active');
@COLABORATI
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.
Examples:
$('.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
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
$.magnificPopup.open({
items: {
src: '#popup',
type: 'inline'
},
removalDelay: 400,
callbacks: {
open: function () {
this.content.velocity('transition.slideDownIn', {
duration: 400
@COLABORATI
COLABORATI / wp-setup-joints
Created Oct 4, 2015
setup wpjoints.com theme and change bower_components path to com
View wp-setup-joints
#!/bin/bash
# setup the jointswp.com zurb foundation wordpress theme
echo 'This script will: '
echo '* git clone the jointswp.com 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" ]
then
You can’t perform that action at this time.