1$(function() { 2 $('.owl-carousel').owlCarousel({ 3 loop:true, 4 margin:10, 5 dots: false, 6 nav:true, 7 responsive:{ 8 0:{ 9 items:1 10 }, 11 600:{ 12 items:3 13 }, 14 1000:{ 15 items:4 16 } 17 } 18 }) 19 20 // Na scroll reagovat funkcà scrollEfect 21 window.onscroll = function() {scrollEfect()}; 22 var header = document.getElementById("navbar"); 23 var sticky = header.offsetTop; 24 25 function scrollEfect() { 26 if (window.pageYOffset > sticky) { 27 header.classList.add("sticky"); 28 } else { 29 header.classList.remove("sticky"); 30 } 31 } 32 33 $('.third-button').on('click', function () { 34 $('.animated-icon3').toggleClass('open'); 35 }); 36 37 $('.dropdown-toggle').on('click', function() { 38 this.classList.toggle('rotated'); 39 }); 40 41 $('.more-content-arrow').on('click', function() { 42 this.classList.toggle('rotated'); 43 $(this).parent().next().toggleClass('opened'); 44 }); 45 46 $(document).on('click', '[data-toggle="lightbox"]', function(event) { 47 event.preventDefault(); 48 $(this).ekkoLightbox(); 49 }); 50 51});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.