Opasky Fiala V2 scripts
<script>
window.addEventListener ('popstate', function (e) {console.log ('url changed')});
</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 topmenu = '<div class="added_top_menu"><div class="container"><ul><li><a href="/o-mne/">O mně</a></li><li><a href="/platba-a-doprava/">Doprava a platba</a></li><li><a href="/dozivotni-zaruka/">Doživotní záruka</a></li><li><a href="/galerie-z-dilny/">Galerie</a></li><li><a href="/kontakty/">Kontakt</a></li></ul><ul><li><a href="mailto:opaskyfiala@gmail.com">opaskyfiala@gmail.com</a></li><li><a href="tel:+420723611853">+420 723 611 853</a></li></div></div>';
$(topmenu).insertBefore('.overall-wrapper');
</script>
<script>
$('.kn_benefit_wrapper').insertAfter('.next-to-carousel-banners');
$('.extended-banner-texts > .extended-banner-text').each(function(){
$(this).next('.extended-banner-link').andSelf().wrapAll('<div class="kn_carousel_hover"/>');
});
</script>
<script src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/res2020/owl.carousel.min.js' type="text/javascript"></script>
<script>
$('.owl-carousel').owlCarousel({
loop:true,
margin:30,
responsiveClass:true,
responsive:{
0:{
items:4,
nav:false,
autoplay:true,
autoplayTimeout:2000,
autoplayHoverPause:true
},
600:{
items:6,
nav:false,
autoplay:true,
autoplayTimeout:2000,
autoplayHoverPause:true
},
1000:{
items:8,
nav:false,
loop:true,
autoplay:true,
autoplayTimeout:2000,
autoplayHoverPause:true
}
}
})
</script>
<script type="text/javascript">
$(window).scroll(function () {
if ($(this).scrollTop() > 27) {
$(".overall-wrapper").addClass("dklabScrolled");
} else {
$(".overall-wrapper").removeClass("dklabScrolled");
}
});
</script>
<script type="text/javascript">
$("#p-detail-tabs").length && ($("#p-detail-tabs").append('<li class="shp-tab"><a href="#jak-zmerit" class="shp-tab-link" role="tab" data-toggle="tab">Jak změřit délku</a></li>'), $("#tab-content").append('<div id="jak-zmerit" class="tab-pane fade" role="tabpanel" />'), $.ajax({type: "POST", url: "/jak-zmerit-delku-pasku/", success: function (a) { var t = $(a).find('#content article > div[itemprop="about"]'); null !== t && $("#jak-zmerit").html(t)}}));
</script>
<script type="text/javascript">
$("#p-detail-tabs").length && ($("#p-detail-tabs").append('<li class="shp-tab"><a href="#zaruka" class="shp-tab-link" role="tab" data-toggle="tab">Doživotní záruka</a></li>'), $("#tab-content").append('<div id="zaruka" class="tab-pane fade" role="tabpanel" />'), $.ajax({type: "POST", url: "/dozivotni-zaruka", success: function (a) { var t = $(a).find('#content article > div[itemprop="about"]'); null !== t && $("#zaruka").html(t)}}));
</script>
<script type="text/javascript">
$("#p-detail-tabs").length && ($("#p-detail-tabs").append('<li class="shp-tab"><a href="#doprava-a-platba" class="shp-tab-link" role="tab" data-toggle="tab">Doprava a platba</a></li>'), $("#tab-content").append('<div id="doprava-a-platba" class="tab-pane fade" role="tabpanel" />'), $.ajax({type: "POST", url: "/doprava-a-platba/", success: function (a) { var t = $(a).find('#content article > div[itemprop="about"]'); null !== t && $("#doprava-a-platba").html(t)}}));
</script>
<script>
var added_signature = '<div class="kn_made_by" style="color: #fff;margin-top: 20px;"><style>#signature {text-align: right;}</style>designed by <a href="http://kubanavratil.com/" target="blank_"><img src='https://cdn.myshoptet.com/usr/code.kubanavratil.com/user/documents/upload/signature_white.svg'></a></div>';
$(added_signature).appendTo('#signature');
</script>