Fancy Glasses scripts
<script src="xxx/user/documents/upload/DMupravy/fancyglasses.cz.js?30"></script>
<script>
$(window).scroll(function () {
if ($(this).scrollTop() > 27) {
$("body").addClass("sticky");
} else {
$("body").removeClass("sticky");
}
});
</script>
<script>
$( document ).ready(function() {
$('.breadcrumbs').insertBefore('#content-wrapper').wrapAll( "<div class='breadcrums_wrapper' />");
$(".in-index .container--bannersBenefit").insertAfter(".wide-carousel");
$("#hp_box_1").prependTo("#homepageProducts2");
$("#hp_box_2").prependTo("#homepageProducts12");
$("#hp_box_3").prependTo("#homepageProducts18");
$("#hp_box_4").prependTo("#homepageProducts21");
$(".banners-content.body-banners").insertBefore("#footer");
$('<div class="pece_wrapper"><h3 style="text-align: center;">Jak o skleničky správně pečovat?</h3><div class="pece_container container"><div class="pece_child4"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res/icons_ne_mycka.png'><p>Skleničky <strong>nepatří do myčky!</strong></p></div><div class="pece_child4"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res/icons_ne_houbicka.png'><p><strong>Nedoporučujeme</strong> mýt hrubosrstou houbičkou!</p></div><div class="pece_child4"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res/icons_ne_horko.png'><p>Do skleniček <strong>nepatří horké nápoje</strong>.</p></div><div class="pece_child4"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res/icons_rucne.png'><p>Doporučujeme <strong>mýt ručně</strong> s použitím přípravku na mytí nádobí</p></div></div></div>').appendTo('#description .description-inner');
});
</script>
<script>
$('.product .p-desc').each(function() {
var $prvek= $(this);
$(this).closest('.product').find('.availability').prepend($prvek);
});
</script>
<script src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res/owl.carousel.min.js' type="text/javascript"></script>
<script>
$(document).ready(function(){
$('.owl-one').owlCarousel({
loop:true,
margin:10,
responsiveClass:true,
responsive:{
0:{
items:1,
nav:false,
autoplay:true,
autoplayTimeout:4000,
autoplayHoverPause:true
},
600:{
items:1,
nav:false,
autoplay:true,
autoplayTimeout:4000,
autoplayHoverPause:true
},
1000:{
items:2,
nav:false,
loop:true,
autoplay:true,
autoplayTimeout:4000,
autoplayHoverPause:true
}
}
});
});
</script>