Trend-e-Shop
$('#slider-homepage').owlCarousel({ loop: true, margin: 30, dots: true, nav: true, items: 1, autoplay:true, autoplayTimeout:5000, autoplayHoverPause:true })
$('.producer-logo').owlCarousel({ loop:true, margin:50, nav:false, autoplay:true, autoplayTimeout:5000, autoplayHoverPause:false, responsive:{ 0:{ items:3 }, 600:{ items:6 }, 1000:{ items:8 } } });

Neuheiten

$(document).ready(function(){ waitForElementToDisplay('#newsletter-input-form_41 input',200,400,newsletterEvent); }); function waitForElementToDisplay(selector,time,tries,callFunc) { if(document.querySelector(selector) !== null) { callFunc(); } else { if(tries >= 1){ setTimeout(function() { waitForElementToDisplay(selector, time,tries-1,callFunc); }, time); }else{ return; } } } function newsletterEvent(){ $('#newsletter-input-form_20 input').bind('keyup paste', function (event) { if($(this).val().length>0){ $('#newsletter-input-form_20 > .nlf-hide.d-none').removeClass('d-none'); $('.nlf-hide-2').addClass('d-none'); console.log("test"); }else{ $('#newsletter-input-form_20 > .nlf-hide').addClass('d-none'); $('.nlf-hide-2').removeClass('d-none'); } }); } $(document).ready(function(){ waitForElementToDisplay('#newsletter-input-form_41 input',200,400,newsletterEvent); }); function waitForElementToDisplay(selector,time,tries,callFunc) { if(document.querySelector(selector) !== null) { callFunc(); } else { if(tries >= 1){ setTimeout(function() { waitForElementToDisplay(selector, time,tries-1,callFunc); }, time); }else{ return; } } } function newsletterEvent(){ $('#newsletter-input-form_20 input').bind('keyup paste', function (event) { if($(this).val().length>0){ $('#newsletter-input-form_20 > .nlf-hide.d-none').removeClass('d-none'); $('.nlf-hide-2').addClass('d-none'); console.log("test"); }else{ $('#newsletter-input-form_20 > .nlf-hide').addClass('d-none'); $('.nlf-hide-2').removeClass('d-none'); } }); }