This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://player.vimeo.com/video/289487190?autoplay=1&loop=1&muted=1&controls=0&background=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var allImageLinks = $('a[href$=".jpg"]:not(.no-fancy),a[href$=".jpeg"]:not(.no-fancy),a[href$=".png"]:not(.no-fancy), .fancylink'); | |
function initFancy(){ | |
allImageLinks.fancybox({ | |
}); | |
} | |
initFancy(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; | |
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; | |
/*!40103 SET TIME_ZONE='+00:00' */; | |
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; | |
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; | |
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; | |
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var maxHeight = -1; | |
boxes.each(function (){ | |
//(question)?(result if true):(result is false) | |
//maxHeight = maxHeight > $(this).outerHeight() ? maxHeight : $(this).outerHeight(); //shorthand | |
if (maxHeight > $(this).outerHeight() ) { | |
maxHeight = maxHeight | |
console.log('isit') | |
} else { | |
maxHeight = $(this).outerHeight(); | |
console.log('isit22222') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Start timeline scripts ----------------------------------------------------*/ | |
/* Start timeline scripts ----------------------------------------------------*/ | |
/* Start timeline scripts ----------------------------------------------------*/ | |
/* Kinetic Drag */ | |
var $id = function (id) { return document.getElementById(id); }; | |
var $click = function (elem, fn) { | |
return elem.addEventListener('click', function (e) { | |
fn.apply(elem, [e]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* click and drag */ | |
$.fn.attachDragger = function () { | |
var attachment = false, lastPosition, position, difference; | |
$($(this).selector).on("mousedown mouseup mousemove", function (e) { | |
if (e.type == "mousedown") attachment = true, lastPosition = [e.clientX, e.clientY]; // jshint ignore:line | |
if (e.type == "mouseup") attachment = false; | |
if (e.type == "mousemove" && attachment == true) { | |
position = [e.clientX, e.clientY]; | |
difference = [(position[0] - lastPosition[0]), (position[1] - lastPosition[1])]; | |
$(this).scrollLeft($(this).scrollLeft() - difference[0]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable VirtualBox Host-Only Network adapter for External browsersync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Truetype Hinting: keep existing | |
Vertical Metrics: no adjustment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fontsquirrel webfont generator | |
Vertical Metrics tick [ NO ADJUSTMENT ] to fix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.eda-module-type-slider .slides').imagesLoaded(function () { | |
//console.log('all images loaded'); | |
$('.eda-module-type-slider .slides').addClass('images-loaded'); | |
$('.eda-module-type-slider').each(function (index, value) { | |
var slides = $(this).find('.slide'); | |
if (slides.length > 1) { | |
jFadeBanner($(this)); | |
} | |
}); |
NewerOlder