1$(function(){ 2 if($(".details-gallery").length > 0){ 3 GLightbox({ 4 selector: '.gallery-three-columns' 5 }); 6 } 7 if($(".details-gallery").length > 0){ 8 GLightbox({ 9 selector: '.gallery-two-columns' 10 }); 11 } 12 if($(".article-content").length > 0){ 13 GLightbox({ 14 selector: '.article-content .post-content a:has(img)' 15 }); 16 } 17 if($(".gallery").length > 0){ 18 GLightbox({ 19 selector: '.gallery .gallery-item a', 20 group: 'mojaGaleria', 21 closeOnImageClick: false 22 }); 23 } 24 if($('.gallery-big-slider').length > 0){ 25 var $carousel = $('.gallery-big-slider'); 26 $carousel.slick({ 27 slidesToShow: 1, 28 slidesToScroll: 1, 29 arrows: false, 30 asNavFor: '.gallery-thum' 31 }) 32 } 33 if($('.gallery-thum').length > 0){ 34 $('.gallery-thum').slick({ 35 slidesToShow: 5, 36 slidesToScroll: 1, 37 asNavFor: '.gallery-big-slider', 38 dots: false, 39 arrows: false, 40 focusOnSelect: true, 41 draggable: true, 42 responsive: [ 43 { 44 breakpoint: 768, 45 settings: { 46 slidesToShow: 1, 47 variableWidth: true 48 } 49 }] 50 }); 51 } 52 if($(".details-sidebar").length > 0){ 53 var spacing = $("header").outerHeight() + 10; 54 new StickySidebar('.details-sidebar', { 55 topSpacing: spacing 56 }); 57 } 58}); 59$(window).on("load",function(e){ 60 $(window).scroll(function() { 61 var scrollDistance = $(window).scrollTop() + ($("header").outerHeight() + 10);
62 $('.section').each(function(i) { 63 if ($(this).offset().top <= scrollDistance) { 64 $('.details-sidebar-link li').removeClass('active'); 65 $('.details-sidebar-link li').eq(i).addClass('active'); 66 } 67 }); 68 }).scroll(); 69});
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.