1$(window).scroll(function () { 2 if ($(window).scrollTop() > 100) { 3 $('.mainMenu').addClass('after_scroll'); 4 $('.searchSection').addClass('after_scroll'); 5 } else { 6 $('.mainMenu').removeClass('after_scroll'); 7 $('.searchSection').removeClass('after_scroll'); 8 }; 9}); 10 11$(document).ready(function () { 12 13 $('.kategorie_dolni ul').addClass('hovera'); 14 15 $('.dil_serialu_celek').each(function () { 16 if (!$(this).find('.primarni_obrazek_vyhledavani , .primarni_obrazek_clanku').length > 0) { 17 $(this).addClass('serial_bezobrazku'); 18 } 19 }); 20 21 $('form .row.search span.archiv label').click(function () { 22 $(this).toggleClass('active'); 23 }); 24 25 $('.mobile_menu').click(function () { 26 $('.mainMenu ul.main_mene_ul').toggleClass('active'); 27 }); 28 29 // JS prolinacka 30 if ($(".fotohalerieTitulka").length) { 31 changeTitleFoto(); 32 } 33 34 $('span.typakce:empty').hide(); 35 36 $('ul.hovera div.calendar_menu').append($('aside.events_calendar_menu').html()); 37 38 var thisWidth = $('.block a.image'); 39 thisWidth.css('height', $('.block').width() + 'px'); 40 41 var thisWidthSerial = $('a.primarni_obrazek_vyhledavani img'); 42 thisWidth.css('height', $('a.primarni_obrazek_vyhledavani').width() + 'px'); 43 44 var bgrObr = $('.titulka_bgr_obr.prvni'); 45 46 47 setInterval(function () { 48 var setOpacity = 1; 49 if (bgrObr.css('opacity') == 1) { 50 setOpacity = 0; 51 } 52 53 bgrObr.animate({ 54 opacity: setOpacity 55 }, 3000); 56 }, 5500); 57 58}); 59 60window.addEventListener("resize", function (event) { 61 62 var thisWidth = $('.block a.image'); 63 thisWidth.css('height', $('.block').width() + 'px'); 64 65 var thisWidthSerial = $('a.primarni_obrazek_vyhledavani img'); 66 thisWidth.css('height', $('a.primarni_obrazek_vyhledavani').width() + 'px'); 67 68});
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.