Showing all 2 results
jQuery('body').on('click','#view-ingre-list',function(){jQuery('#ingre-list').show();});window.addEventListener("load",function() { jQuery('#productReviews .see-views').hide();jQuery('#show-reviews').show(); jQuery('#anchor-benefits').click(function() { jQuery("#prodDesc .accord-sec > h5").removeClass("active"); jQuery("#prodDesc .accord-content").slideUp(200); jQuery("#prodDesc .accord-sec:first-child > h5").addClass("active"); jQuery("#prodDesc #benefits").slideDown(200); if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) { var target = jQuery(this.hash), headerHeight = jQuery("header").height(); target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']'); if (target.length) { jQuery('html,body').animate({ scrollTop: target.offset().top - headerHeight }, 500); return false; } } }); jQuery('#anchor-for-whom').click(function() { jQuery("#prodDesc .accord-sec > h5").removeClass("active"); jQuery("#prodDesc .accord-content").slideUp(200); jQuery("#prodDesc .accord-sec:nth-child(2) h5").addClass("active"); jQuery("#prodDesc #who-is-it-for").slideDown(200); if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) { var target = jQuery(this.hash), headerHeight = jQuery("header").height(); target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']'); if (target.length) { jQuery('html,body').animate({ scrollTop: target.offset().top - headerHeight }, 500); return false; } } }); });jQuery('body').on('click', 'a.add_to_cart_button', function(){jQuery(this).html('
'); }); var img_subs = 'http://devint.kerahealth.com/wp-content/uploads/2020/08/360-men-new.jpg'; var img_one_m = 'http://devint.kerahealth.com/wp-content/uploads/2020/08/360-men-new.jpg'; var img_three_m = 'http://devint.kerahealth.com/wp-content/uploads/2020/08/360-men-new-90-days-treatment.jpg'; var img_six_m = 'http://devint.kerahealth.com/wp-content/uploads/2020/08/360-men-new-180-days-treatment.jpg'; jQuery("body").on("click", ".sec-chose-plan .plans-wrapper .plan-option", function(){ var currPlan = jQuery(this).data('planid').replace(/-/g, '_'); var imgCurrPlan = window['img_'+currPlan]; jQuery('#productHeader img').attr("src", imgCurrPlan); });