Leírás és Paraméterek
Ez a 35 mm átmérőjű kombi padlókefe minden felületen használható. Alkalmas olyan háztartási porszívókhoz, mint az Electrolux, Fam, Holland Electro, Nilfisk és Numatic.
0;downTo--){$('.input-rating[data-star='+downTo+']').addClass(className);}};this.$element.each(function(i){$(this).attr('data-star',i+1);});this.$element.hover(function(){self.removeRatingClass(self.$element,'hovered');self.addRatingClass($(this),'hovered');});this.$element.click(function(){if($(this).is(":checked")){self.removeRatingClass(self.$element,'checked');self.addRatingClass($(this),'checked');}else{self.$element.removeClass('checked');}});this.$ratingWrapper.mouseleave(function(){self.removeRatingClass(self.$element,'hovered');});$('.js-scroll-productreview').click(function(){productReviewScroll('#productreview',400);});var reviewFilterElements=document.querySelectorAll('.js-product-review-rating-filter');reviewFilterElements.forEach(function(elem){elem.addEventListener('click',function(){getReviewsByRating(elem.dataset.rating);})});var $productReviewForm=$('.js-product-review-form');if(location.hash==='#review_form'){$.fancybox.open($productReviewForm);history.pushState('',document.title,location.pathname+location.search);}
if(location.hash==='#review'){setTimeout(productReviewScroll,200,'#review');history.pushState('',document.title,location.pathname+location.search);}
$('.js-i-add-review').click(function(){$.fancybox.open($productReviewForm);});$('.js-add-review-submit').click(function(){$(this).attr('disabled',true);$.ajax({url:'index.php?route=product/productreview/addreview',method:'POST',data:$('.js-product-review-form form').serialize()}).always(function(response){if(response.data.redirect_to){location=response.data.redirect_to;}else if(response.data.success_auto_accept){location.replace(location.origin+location.pathname+location.search+'#review');location.reload();}else{if(!response.data.error){$.fancybox.close();}
var $reviewMsg=$('.js-review-msg')
if(response.data.success){$reviewMsg.html(response.data.success).addClass('success');setTimeout(productReviewScroll,200,'.js-review-msg',400);}else{$reviewMsg.html('').removeClass('success');}
$('.js-product-review-form form').parent().replaceWith(response.formHTML);$('.js-add-review-submit').attr('disabled',false);}});});}
function getReviewsByRating(rating){var data={rating:rating,productId:ShopRenter.product.id};$.ajax({type:'POST',url:'index.php?route=product/productreview/filter',contentType:'application/json; charset=utf-8',data:JSON.stringify(data)}).done(function(data){$('#review').html(data)})}
function productReviewTabClick(){var $productReviewTab=$('[data-tab="#tab_productreview"]');if($productReviewTab.length){$productReviewTab.trigger('click');return true;}
return false;}
function productReviewScroll(scrollToSelector,duration){if(scrollToSelector){if(duration===undefined){duration=1;}
productReviewTabClick();var anchorHeight=20;var $scrollTo=$(scrollToSelector);var stickyHead=document.querySelector('.sticky-head');if(stickyHead){anchorHeight=stickyHead.clientHeight+20;}else{stickyHead={clientHeight:0};}
var mobileNav=document.querySelector('#mobile-nav');if(mobileNav&&window.getComputedStyle(mobileNav).display!=='none'){anchorHeight=Math.max(mobileNav.clientHeight,stickyHead.clientHeight)+20;}
$('html, body').animate({scrollTop:$scrollTo.offset().top-anchorHeight},duration);}}
document.addEventListener("DOMContentLoaded",()=>{productReviewHandler();});