1$(function(){ 2 $('.news:odd').addClass('newsEven'); 3 $('li:odd', '#archiwum').addClass('archiwumeven'); 4 $('td', '.tabela tr:even').addClass('tabev'); 5 $('td:first', '.tabela tr').addClass('st'); 6 $('td:first', '.kadra tr').addClass('stk'); 7 $('td:eq(3)', '.tabela tr').addClass('srg'); 8 $('li:odd', '.arts').addClass('archiwumeven'); 9 $('li:odd', '#zt').addClass('zteven'); 10 $('li:odd', '#infozaw').addClass('kl'); 11 12 var a = Math.floor(Math.random() * 12 + 1); 13 14 $('#render').attr('src', 'img/render'+a+'.jpg'); 15 16 $('li', '#menu').hover(function(){ 17 $(this).addClass('sfhover'); 18 $('ul', this).fadeIn('500'); 19 }); 20 $('li', '#menu').mouseleave(function(){ 21 $(this).removeClass('sfhover'); 22 $('ul', this).fadeOut('500'); 23 }); 24 25 $('#szukajInput').click(function(){ 26 var tresc = $(this).attr('value'); 27 if(tresc == 'szukana fraza') $(this).attr('value', ''); 28 }); 29 $('#szukajInput').blur(function(){ 30 var tresc = $(this).attr('value'); 31 if(tresc == '') $(this).attr('value', 'szukana fraza'); 32 }); 33 34 $('li', '#mains').click(function(){ 35 var klasa = $(this).attr('class'); 36 if(klasa != 'otw'){ 37 var otw = $('.otw').attr('title'); 38 var attrSrc = $('.otw img').attr('src'); 39 var attrTitle = $('.otw img').attr('title'); 40 $('#main'+otw+'').fadeOut('slow'); 41 $('.otw img').attr({ 42 src: attrTitle, 43 title: attrSrc 44 }); 45 $('.otw').removeClass('otw'); 46 } 47 $(this).addClass('otw'); 48 var otw = $('.otw').attr('title'); 49 $('#main'+otw).fadeIn('slow'); 50 51 }); 52 53 $('li', '#mains').hover(function(){ 54 var klasa = $(this).attr('class'); 55 if(klasa != 'otw'){ 56 var attrSrc = $('img', this).attr('src'); 57 var attrTitle = $('img', this).attr('title'); 58 $('img', this).attr('src', attrTitle); 59 $('img', this).attr('title', attrSrc); 60 } 61 }); 62 63 $('li', '#mains').mouseleave(function(){ 64 var klasa1 = $(this).attr('class'); 65 if(klasa1 != 'otw'){ 66 var attrSrc1 = $('img', this).attr('src'); 67 var attrTitle1 = $('img', this).attr('title'); 68 $('img', this).attr('src', attrTitle); 69 $('img', this).attr('title', attrSrc); 70 } 71 }); 72 73 $('tr', '.kadra').hover(function(){ 74 $(this).addClass('onf'); 75 }); 76 77 $('tr', '.kadra').mouseleave(function(){ 78 $(this).removeClass('onf'); 79 }); 80 81 $('li', '#zt').hover(function(){ 82 $(this).addClass('ztf'); 83 }); 84 85 $('li', '#zt').mouseleave(function(){ 86 $(this).removeClass('ztf'); 87 }); 88 $('.typwyn').maxlength( {status: false, maxCharacters: 2} ); 89});
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.