1$(document).ready(function() { 2 if ($('.pocet_akci_v_den').length) { 3 nacti_pocet_akci_v_den(); 4 } 5 if ($('.bublina_akce').length) { 6 $(document).bind('mousemove', function(e) { 7 $('.bublina_akce').css({ 8 left: e.pageX, 9 top: e.pageY - window.scrollY 10 }); 11 }); 12 document.onmousemove = function(e) { 13 var target = (($(e.target).data("id") > 0) ? $(e.target) : $(e.target).parent()); 14 if (target.hasClass('konana_akce')) { 15 var id = target.data("id"); 16 if (id > 0) { 17 var el = $(".akce_objekt_data_" + id); 18 ["nazev", "anotace", "misto_konani"].forEach(function(item) { 19 $(".bublina_akce ." + item).html(el.find("." + item).text()); 20 }); 21 $(".bublina_akce .datum").html(target.data("dat") + " " + target.data("cas")); 22 $('.bublina_akce').show(); 23 } 24 } else { 25 $('.bublina_akce').hide(); 26 } 27 }; 28 } 29}); 30 31function nacti_pocet_akci_v_den() { 32 $('.den_v_tydnu').each(function() { 33 var d = $(this).data('d'); 34 var m = $(this).data('m'); 35 var p = $('#eventtext_' + m + 'a' + d + ' li').length; 36 if (p > 0) { 37 $('.pocet_akci_v_den_' + m + '_' + d).html(p); 38 $('.pocet_akci_v_den_' + m + '_' + d).show(); 39 } 40 }); 41} 42 43function akce_sablona_kalendar_ukaz_dalsi(id) { 44 $(".vypis_akci_" + id + " .schovana").toggle(); 45 $(".col_" + id + " .vice_akci_o").toggle(); 46 $(".col_" + id + " .vice_akci_z").toggle(); 47 $(".col_" + id).toggleClass("active"); 48}
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.