Skip to content

Instantly share code, notes, and snippets.

Zach Drago zachdrago

Block or report user

Report or block zachdrago

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
View javascript
$(document).on('widget:ready', function (e, instance) {
instance
.on('init', function (e, instance) {
//console.log(e.type, instance);
})
.on('load', function (e, listData) {
//console.log(e.type, listData);
})
.on('beforeRender', function (e, $appendRoot, listData) {
//console.log(e.type, $appendRoot, listData);
View carousel
View GET-filters-filterid-content
[
{
"_id": "5b4cec2610d1ebdfba6c805d",
"status": "published",
"source": "instagram",
"media": "image",
"queued": false,
"disabled": false,
"disabled_reason": [],
"wordclashes": [],
View gist:9a4691b1c9bb649d20d8ad152ce745ab
Verifying my Blockstack ID is secured with the address 1JacGDmhFQFHhFg12iGP4EvnsyintpWKLU https://explorer.blockstack.org/address/1JacGDmhFQFHhFg12iGP4EvnsyintpWKLU
View carousel
@zachdrago
zachdrago / Custom JS.js
Created Aug 26, 2017
Remove auto-scroll from Carousel widget
View Custom JS.js
/* global Callbacks, Strings, $, _, Mustache, CryptoJS */
/* jshint strict: false, maxparams: 5 */
// // Tips: Load the JavaScript libraries you need
// Stackla.loadJS([
// 'https://cdnjs.cloudflare.com/ajax/libs/slabText/2.3/jquery.slabtext.min.js'
// ]).then(function () {
// // After all JS urls are loaded
// });
@zachdrago
zachdrago / CSS.css
Created Jun 27, 2017
Stackla vertical Scroll wall Event screen
View CSS.css
/**
=========================
global styles
=========================
*/
body {
}
.scrollWall-stage {
View onename
Verifying that "zachdrago.id" is my Blockstack ID. https://onename.com/zachdrago
View typekit.js
tileObject.find('.tile-source .fs').appendTo(tileObject.find('.tile-avatar-link'));
@zachdrago
zachdrago / CustomJS.js
Created Sep 15, 2016
Widget Columns JS
View CustomJS.js
Callbacks.prototype.onBeforeRenderIsotope = function(containerWidth, maxTileWidth, margin, numColumns, currentTileWidth, tile) {
var $tile = $(tile);
var columns = 2;
if (containerWidth < 767) {
columns = 3;
if (containerWidth <= 400) {
columns = 1;
You can’t perform that action at this time.