From: Anthony Talarico Date: Fri, 11 Dec 2015 19:41:17 +0000 (-0500) Subject: setting up removal of side bars in checkout page X-Git-Tag: v1.0.0^2~11 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=184f0e261c52f8c52e653c0529a72aca8f130db8;p=WP-Themes%2Fthemoleholeonline.git setting up removal of side bars in checkout page --- diff --git a/js/galleria.min.js b/js/galleria.min.js index 568882d..5597923 100644 --- a/js/galleria.min.js +++ b/js/galleria.min.js @@ -1,4 +1,7 @@ !function(){jQuery(window).load(function(){ + if(jQuery(location).attr('pathname').indexOf("page_id=18") >= 0){ + alert(jQuery(location).attr('pathname')); + } jQuery(".product-category.product .fadeIn").find("mark").remove(); jQuery('.page_item.page-item-16').append(""); jQuery("body").addClass("loaded"),jQuery(".site").addClass("animated fadeIn"),jQuery(".single_add_to_cart_button, .checkout-button").addClass("animated bounce");var t=jQuery(".star-rating > span").width();jQuery(".woocommerce-product-rating .star-rating > span").css("width",0),jQuery(".woocommerce-product-rating .star-rating > span").animate({width:t},1500,function(){}),jQuery(".woocommerce-tabs ul.tabs li a").click(function(){var t=jQuery(this).attr("href");jQuery(".woocommerce-tabs").find(t).addClass("animated bounceInUp")}),jQuery(window).width()>767&&(jQuery("body").hasClass("page-template-template-homepage")||jQuery("body").hasClass("storefront-full-width-content")||jQuery("body").hasClass("page-template-template-fullwidth-php")||jQuery("body").hasClass("single-product")||jQuery("ul.products").masonry({columnWidth:"li.product",itemSelector:"li.product",percentPosition:!0})/*,jQuery("ul.products li.product:not(.product-category)").hover(function(){jQuery(this).find(".g-product-title").addClass("animated fadeIn"),jQuery(this).find(".button").addClass("animated bounceIn")},function(){jQuery(this).find(".g-product-title").removeClass("fadeIn"),jQuery(this).find(".button").removeClass("bounceIn")})*/,jQuery("ul.products li.product .button").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}),jQuery("ul.products li.product-category .g-product-title").each(function(){var t=jQuery(this),e=t.outerHeight(),r=t.outerWidth();t.css("margin-top",-e/2).css("margin-left",-r/2)}))})}(); \ No newline at end of file