Milky scripty

<script>
document.addEventListener('ShoptetPageSortingChanged', function() {
$( 'label[for="order2"]' ).text( 'od nejlevnějšího' );
$( 'label[for="order3"]' ).text( 'od nejdražšího' );
});
</script>
<script>
$( 'label[for="order2"]' ).text( 'od nejlevnějšího' );
$( 'label[for="order3"]' ).text( 'od nejdražšího' );

$(".products-related.products-additional").insertAfter(".p-detail-tabs-wrapper");
$(".products-related-header").insertAfter(".p-detail-tabs-wrapper");

$(".p-detail-inner-header .p-code").insertAfter(".extended-description .detail-parameters");
$( ".homepage-products-heading-2" ).wrap( "<a href='/novinky/'></a>" );
$( ".homepage-products-heading-6" ).wrap( "<a href='/sleva/'></a>" );

$(".p-detail-inner-header").prependTo(".p-info-wrapper");
$(".p-detail-info").insertAfter(".p-detail-inner-header h1");
$(document).ready(function() {
    if($(window).width() >= 768) {
$('<a class="show_search"></a>').prependTo(".xxxnavigation-buttons");
$('.show_search').on('click mouseover', function () {
$('.search').toggle();
});
$('.login.toggle-window').prependTo(".navigation-buttons");
    }
});

$(window).click(function() {
$('.xxxsearch').hide();
});

$('.search').click(function(event){
event.stopPropagation();
});
</script>

<script>
var ua = window.navigator.userAgent;
var msie = ua.indexOf('MSIE ');
var trident = ua.indexOf('Trident/');
if(msie > 0 || trident > 0){
alert("Internet Explorer není podporovaný prohlížeč, prosím využijte moderní alternativu, Google Chrome, atd. Děkujeme za pochopení.");
}

var added_brands = '<div class="added_brands container"><div class="owl-two owl-carousel owl-theme"><div class="item"><p><a href="#"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://www.milky.cz/img/m/82-manufacturer.jpg" /></a></p></div><div class="item"><p><a href="#"><img style="display: block; margin-left: auto; margin-right: auto;" src="https://www.milky.cz/img/m/82-manufacturerxxx.jpg" /></a></p></div></div></div>';
var added_benefits = '<div class="kn_container added_benefits container"><div class="kn_child3"><p style="text-align: center;"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res2021/benefit_1.png'></p></div><div class="kn_child3"><p style="text-align: center;"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res2021/benefit_2.png'></p></div><div class="kn_child3"><p style="text-align: center;"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res2021/benefit_3.png'></p></div>';
$(added_brands).insertAfter('#products-2');
$(added_benefits).insertBefore('.h4.homepage-products-heading-2');

</script>

<script src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/owl.carousel.min.js' type="text/javascript"></script>
<script>
$(document).ready(function(){
$('.owl-one').owlCarousel({
loop:true,
margin:0,
responsiveClass:true,
responsive:{
0:{
items:1,
nav:false,
autoplay:true,
autoplayTimeout:4000,
autoplayHoverPause:true
},
768:{
items:2,
nav:false,
autoplay:true,
autoplayTimeout:4000,
autoplayHoverPause:true
},
1000:{
items:4,
nav:false,
loop:true,
autoplay:true,
autoplayTimeout:4000,
autoplayHoverPause:true
}
}
});
$('.owl-two').owlCarousel({
loop:true,
margin:0,
nav:true,
responsiveClass:true,
responsive:{
0:{
items:3,
nav:true,
autoplay:true,
autoplayTimeout:2000,
autoplayHoverPause:true
},
768:{
items:5,
nav:true,
autoplay:true,
autoplayTimeout:2000,
autoplayHoverPause:true
},
1000:{
items:9,
nav:true,
loop:true,
autoplay:true,
autoplayTimeout:2000,
autoplayHoverPause:true
}
}
});
});
</script>

<script>
$(window).scroll(function () {
if ($(this).scrollTop() > 27) {
$(".overall-wrapper").addClass("scrolled");
} else {
$(".overall-wrapper").removeClass("scrolled");
}
});
</script>

Přihlaste se prosím znovu

Omlouváme se, ale Váš CSRF token pravděpodobně vypršel. Abychom mohli udržet Vaši bezpečnost na co největší úrovni potřebujeme, abyste se znovu přihlásili.

Děkujeme za pochopení.

Přihlášení