Your IP : 216.73.216.240


Current Path : /home/sunflowe/www2/disneyexplorer/wp-content/themes/wide/assets/js/
Upload File :
Current File : /home/sunflowe/www2/disneyexplorer/wp-content/themes/wide/assets/js/dev.js

!function(a){"use strict";function b(){jQuery(".content-category .archive-blog").isotope({masonry:{columnWidth:".col-item"},transitionDuration:"0.4s",fitWidth:!0}),jQuery(".blog-grid-layout .archive-blog").isotope({masonry:{columnWidth:".col-item"},transitionDuration:"0.4s",fitWidth:!0})}jQuery(document).ready(function(a){jQuery("img.lazy").lazyload()}),jQuery(window).load(function(){b()})}(jQuery),function(a){"use strict";jQuery(document).ready(function(){function f(){c.toggleClass("canvas-open")}function g(a,b){jQuery(b).each(function(){jQuery(this).attr("data-h",jQuery(this).outerHeight())}),jQuery(b).addClass("unvisible");var c;jQuery(a).on("click",function(){c=0,jQuery(this).prev("a").toggleClass("active"),jQuery(this).toggleClass("active"),jQuery.this=jQuery(this).next(b),jQuery.this.hasClass("unvisible")?(c=jQuery.this.has("ul").length>0?parseInt(jQuery.this.attr("data-h"))-parseInt(jQuery.this.find(b).attr("data-h")):parseInt(jQuery.this.attr("data-h")),jQuery.this.parents(b).each(function(){jQuery(this).css("height",jQuery(this).outerHeight()+c)}),jQuery.this.css("height",c+"px")):(jQuery.this.find(b).not(":has(.unvisible)").addClass("unvisible"),c=jQuery.this.outerHeight(),jQuery.this.parents(b).each(function(){jQuery(this).css("height",jQuery(this).outerHeight()-c)})),jQuery.this.toggleClass("unvisible")})}jQuery(".owl-single").each(function(){var a=jQuery(this).data("rtl");jQuery(this).slick({autoplay:!0,dots:!0,rtl:a,autoplaySpeed:2e3})}),jQuery(".article-carousel").each(function(){var a=jQuery(this).data("number"),b=jQuery(this).data("dots"),c=jQuery(this).data("arrows"),d=jQuery(this).data("table"),e=jQuery(this).data("rtl"),f=jQuery(this).data("mobile"),g=jQuery(this).data("mobilemin");jQuery(this).slick({autoplay:!0,rtl:e,dots:b,slidesToShow:a,arrows:c,autoplaySpeed:5e3,responsive:[{breakpoint:900,settings:{slidesToShow:d}},{breakpoint:600,settings:{slidesToShow:f}},{breakpoint:480,settings:{slidesToShow:g}}]})}),jQuery(".article-carousel-center").each(function(){var a=jQuery(this).data("number"),b=jQuery(this).data("dots"),c=jQuery(this).data("rtl"),d=jQuery(this).data("arrows");jQuery(this).slick({dots:b,slidesToShow:a,arrows:d,slidesToScroll:1,autoplay:!0,rtl:c,autoplaySpeed:5e3,centerMode:!0,variableWidth:!0,focusOnSelect:!0,responsive:[{breakpoint:850,settings:{variableWidth:!1}},{breakpoint:480,settings:{centerMode:!1,variableWidth:!1}}]})}),jQuery(".mega-menu").slicknav({prependTo:"#wide-header",label:""}),a(".sidebar").stick_in_parent({offset_top:5}),jQuery(".btn-mini-search").on("click",function(){jQuery(".header-content-right .searchform-wrap").removeClass("wide-hidden")}),jQuery(".btn-mini-close").on("click",function(){jQuery(".header-content-right .searchform-wrap").addClass("wide-hidden")});var b=jQuery("body").find(".button-offcanvas"),c=jQuery("body"),d=jQuery(".canvas-menu .btn-close"),e=jQuery(".canvas-overlay");b.on("click",function(){f()}),d.on("click",function(){f()}),e.on("click",function(){f()}),jQuery(".quantity .add-action").live("click",function(){jQuery(this).hasClass("qty-plus")?jQuery("[name=quantity]",".quantity").val(parseInt(jQuery("[name=quantity]",".quantity").val())+1):parseInt(jQuery("[name=quantity]",".quantity").val())>1&&jQuery("input",".quantity").val(parseInt(jQuery("[name=quantity]",".quantity").val())-1)}),a(".product-categories li.cat-parent")[0]&&(a(".product-categories li.cat-parent>a").after('<span class="triggernav"><i class="expand-icon"></i></span>'),g(".triggernav",".widget_product_categories .product-categories li ul")),jQuery(".myaccount-login").each(function(){jQuery(".btn-form-login").on("click",function(){a(".login-wrap").slideUp(0),a(".register-wrap").slideDown(250)}),jQuery(".btn-form-register").on("click",function(){a(".register-wrap").slideUp(0),a(".login-wrap").slideDown(250)})}),function(a,b,c){var d,e=a.getElementsByTagName(b)[0];a.getElementById(c)||(d=a.createElement(b),d.id=c,d.src="//connect.facebook.net/en_US/all.js#xfbml=1",e.parentNode.insertBefore(d,e))}(document,"script","facebook-jssdk")})}(jQuery);