'use strict'; /* * A Design by GraphBerry * Author: GraphBerry * Author URL: http://graphberry.com * License: http://graphberry.com/pages/license */ jQuery(document).ready(function ($) { /************************ Animate elements *************************/ jQuery('.animleft').bind('inview', function (event, visible) { if (visible == true) { jQuery(this).addClass("animated fadeInLeft"); } else { jQuery(this).removeClass("animated fadeInLeft"); } }); jQuery('.animright').bind('inview', function (event, visible) { if (visible == true) { jQuery(this).addClass("animated fadeInRight"); } else { jQuery(this).removeClass("animated fadeInRight"); } }); jQuery('.col-sm-3').bind('inview', function (event, visible) { if (visible == true) { jQuery(this).addClass("animated flipInX"); } else { jQuery(this).removeClass("animated flipInX"); } }); jQuery('.animleftbig').bind('inview', function (event, visible) { if (visible == true) { jQuery(this).addClass("current animated fadeInLeftBig"); } else { jQuery(this).removeClass("current animated fadeInLeftBig"); } }); jQuery('.animrightbig').bind('inview', function (event, visible) { if (visible == true) { jQuery(this).addClass("current animated fadeInRightBig"); } else { jQuery(this).removeClass("current animated fadeInRightBig"); } }); });