1 2 3$(window).load(function(){ 4 5 6 7 8 $('.contact_vypis .item .text p.name').textfill({maxFontPixels: 16}); 9}); 10 11 12 13 14$(document).ready(function(){ 15 16 17 $('a[href$="popup_obsah"]').colorbox({inline:true, fixed: true}); 18 19 20 $(":radio").uniform({checkboxClass: 'radio'}); 21 $(":checkbox:not(.c-tgl)").uniform({checkboxClass: 'checker'}); 22 23 24 25 var windowWidth = $(window).width(); 26 var windowHeight = $(window).height(); 27 //console.log(windowWidth) 28 29 var navOffSet = $('nav').offset().top; 30 if( $(window).scrollTop() > navOffSet){ 31 $('nav').css({'position' : 'fixed'}) 32 $('header').css({'margin-bottom' : '50px'}) 33 }else{ 34 $('nav').css({'position' : 'relative'}) 35 $('header').css({'margin-bottom' : '0'}) 36 } 37 38 $(window).scroll(function(){ 39 if( $(window).scrollTop() > navOffSet){ 40 $('nav').css({'position' : 'fixed'}) 41 $('header').css({'margin-bottom' : '50px'}) 42 }else{ 43 $('nav').css({'position' : 'relative'}) 44 $('header').css({'margin-bottom' : '0'}) 45 } 46 }); 47 48 $('nav ul li a.return_false').click(function(){ 49 if( $(window).width() < 1025){ 50 if($(this).parent('li').hasClass('open_pad')){ 51 $(this).parent('li').find('.submenu_box').slideUp(250); 52 $(this).parent('li').removeClass('open_pad'); 53 }else{ 54 $(this).parent('li').find('.submenu_box').slideDown(250); 55 $(this).parent('li').addClass('open_pad'); 56 } 57 return false; 58 }else{ 59 return false; 60 } 61 62 63 64 }); 65 66 67 68 69 70 $('article a').on('click', function() { 71 if(($(this).attr('href').substr(0,1)) != '#') { 72 }else{ 73 var thisHref = $(this).attr('href').substring(1); 74 if(thisHref && $('div#'+thisHref) && $('div#'+thisHref).offset() ) { 75 var offset = $('div#'+thisHref+'').offset().top - 50; 76 $('html,body').animate({ scrollTop: offset }, 1200); 77 return false; 78 } 79 } 80 }); 81 82 83 84 85 $('a.video, .video_pop_vypis .item .img').click(function(){ 86 var iframe = $(this).attr('data-iframe'); 87 $('.video_popup').css({'display' : 'table'}); 88 setTimeout(function () { 89 $('.video_popup').css({'opacity' : 1}); 90 $('.video_popup iframe').attr({'src' : iframe}); 91 },10) 92 return false; 93 }); 94 95 96 $('a.podcast_pop').click(function(){ 97 var iframe = $(this).attr('data-iframe'); 98 $('.video_popup').css({'display' : 'table'}); 99 setTimeout(function () { 100 $('.video_popup').css({'opacity' : 1}); 101 $('.video_popup iframe').attr({'src' : iframe}); 102 },10) 103 return false; 104 }); 105 106 $('.video_popup .boxes span.close').click(function(){ 107 $(this).parents('.srdcovky_popup').css({'opacity' : 0}); 108 setTimeout(function () { 109 $('.video_popup').css({'display' : 'none'}); 110 $('.video_popup iframe').attr('src', '') 111 }, 250) 112 }); 113 114 $('.video_popup').click(function(e){ 115 var controlClass = $(e.target).attr('class'); 116 if( controlClass == 'box' ){ 117 $('.video_popup .boxes span.close').click() 118 } 119 }); 120 121 /*$('.send_cv').change(function() { 122 if($(this).val() > '') { 123 console.log('send'); 124 } else { 125 126 } 127 });*/ 128 129 $('.zrusit_filtr_granty').click(function(){ 130 $('#srch_gt').val(''); 131 $(this).closest('form').submit(); 132 }); 133 134 $('.reg_form .box.rozklik p.title').click(function(){ 135 if($(this).parents('.reg_form').hasClass('active')){ 136 $(this).parents('.reg_form').removeClass('active'); 137 $(this).parents('.reg_form').find('.hide_form').slideUp(400); 138 }else{ 139 $(this).parents('.reg_form').addClass('active'); 140 $(this).parents('.reg_form').find('.hide_form').slideDown(400); 141 } 142 }); 143 144 $('.otazky .item a.link').click(function() { 145 if( $(this).hasClass('active') ){ 146 $(this).parents('.otazka').find('.hide').slideUp(250); 147 $(this).text('PÅeÄÃst odpovÄÄ').removeClass('active') 148 }else{ 149 $(this).parents('.otazka').find('.hide').slideDown(250); 150 $(this).text('Skrýt odpovÄÄ').addClass('active') 151 } 152 153 return false;
154 }); 155 156 157 $('header a.lang').click(function(){ 158 if($(this).hasClass('open')){ 159 $(this).removeClass('open'); 160 $('header ul.lang_select').slideUp('fast'); 161 }else{ 162 $(this).addClass('open'); 163 var leftPosition = $(this).position().left; 164 $(this).parents('header').find('ul.lang_select').css({'left': leftPosition - 15}) 165 $('header ul.lang_select').slideDown('fast'); 166 } 167 return false; 168 }); 169 170 $('.datepick').datepicker(); 171 172 $('header .page_change_box a.link.print').click(function(){ 173 window.print() 174 return false; 175 }); 176 177 $('.welcome_text a.link.open').click(function(){ 178 $(this).parents('article').find('.hide').slideDown(250); 179 $(this).css({'opacity' : 0, 'cursor' : 'default'}); 180 return false; 181 }); 182 183 $('.welcome_text a.link.close').click(function(){ 184 $(this).parents('article').find('.hide').slideUp(250); 185 $(this).parents('.welcome_text').find('a.link.open').css({'opacity' : 1, 'cursor' : 'pointer'}); 186 return false; 187 }); 188 189 $('.tooltip-item').click(function(){ 190 $(this).parents('.tooltip').addClass('active_efekt'); 191 return false; 192 }); 193 194 $('body').click(function(){ 195 $(this).find('.tooltip').removeClass('active_efekt'); 196 }); 197 198 199 200 $('.line_vypis.clickable .item .top, .line_vypis.clickable .item .link').click(function(){ 201 if( $(this).hasClass('carrier_click')){ 202 }else{ 203 if( $(this).parents('.item').hasClass('active')){ 204 $(this).parents('.item').find('article').slideUp(250); 205 $(this).parents('.item').removeClass('active') 206 if( $(this).parents('.line_vypis').hasClass('read_more') ){ 207 $(this).parents('.item').find('.link').text('ÄÃst vÃce') 208 }else{ 209 $(this).parents('.item').find('.link').text('Zjistit podrobnosti') 210 } 211 212 }else{ 213 $('.line_vypis.clickable .item').removeClass('active') 214 $('.line_vypis.clickable .item article').slideUp(250); 215 if( $(this).parents('.line_vypis').hasClass('read_more') ){ 216 $('.line_vypis.clickable.read_more a.link').text('ÄÃst vÃce') 217 }else{ 218 $('.line_vypis.clickable a.link').text('Zjistit podrobnosti') 219 } 220 221 222 $(this).parents('.item').find('article').slideDown(250); 223 $(this).parents('.item').addClass('active') 224 if( $(this).parents('.line_vypis').hasClass('read_more') ){ 225 $(this).parents('.item').find('.link').text('Skrýt obsah') 226 }else{ 227 $(this).parents('.item').find('.link').text('Skrýt podrobnosti') 228 } 229 } 230 return false; 231 } 232 233 234 }); 235 /* 236 $('.line_vypis.clickable .item_carrer .top_carrer, .line_vypis.clickable .item_carrer .link_carrer').click(function(){ 237 if( $(this).parents('.item_carrer').hasClass('active')){ 238 $(this).parents('.item_carrer').find('article').slideUp(250); 239 $(this).parents('.item_carrer').removeClass('active'); 240 }else{ 241 $('.line_vypis.clickable .item_carrer').removeClass('active') 242 $('.line_vypis.clickable .item_carrer article.carrer_article').slideUp(250); 243 244 $(this).parents('.item_carrer').find('article.carrer_article').slideDown(250); 245 $(this).parents('.item_carrer').addClass('active'); 246 } 247 return false; 248 249 }); 250 */ 251 252 $('.nav-tabs li a').click(function(){ 253 if( $(this).parent().hasClass('active')){ 254 }else{ 255 256 $('.nav-tabs li').removeClass('active') 257 $(this).parent().addClass('active') 258 var thisID = $(this).attr('id') 259 $('.car_obsah').hide() 260 $('.car_obsah#car_obsah_'+thisID+'').show() 261 } 262 return false; 263 264 }); 265 266 267 $( ".line_vypis .item .top, .line_vypis .item .link" ).hover(function() { 268 $( this ).parents('.item').addClass( "hover_efekt" ); 269 }, function() { 270 $( this ).parents('.item').removeClass( "hover_efekt" ); 271 }); 272 273 274 $('.search-doplatek').submit(function () { 275 var value = $('#search-doplatek-id').val(); 276 //alert(value); 277 //alert($(this).parents('form').attr('action')); 278 //alert(value); 279 if (value.length >= 2) { 280 $('#loading').show(); 281 setTimeout(function() { 282 $('#loading').css({'opacity' : 1}, 250); 283 }, 50) 284 285 $.nette.ajax({ 286 'url': '?term='+value+'&do=searchDoplatek', 287 'success': function(data){ 288 //$('.listItems').css('opacity','1'); 289 $('#loading').css({'opacity' : 0}, 250); 290 setTimeout(function() { 291 $('#loading').hide(); 292 }, 300) 293 } 294 }); 295 } 296 return false;
297 }); 298 299 $('#pozice_select').change(function(){ 300 $(this).find('option').each(function(){ 301 if ($(this).is(':selected')&&($(this).val() > '')){ 302 window.location.href = '?pozice='+$(this).text(); 303 } 304 }); 305 //window.location.href = '?pozice='+$(this).val(); 306 }); 307 308 309 $('.slider').css('visibility','visible'); 310 var slider = $('.slider .bxslider').bxSlider({ 311 pager: true, 312 auto: true, 313 pause: 5000, 314 mode: 'fade', 315 controls: false, 316 touchEnabled: false, 317 speed: 600 318 }); 319 320 $(".search_open").click(function(){ 321 $('.search').animate({'top' : 30}); 322 return false; 323 }); 324 325 $(".search a.close").click(function(){ 326 $('.search').animate({'top' : -150}); 327 return false; 328 }); 329 330 //SHOW OBSAH 331 /*var searchTabs = $('header .contact_box .search ul li a'); 332 $('header .contact_box .search ul li a').click(function(){ 333 searchTabs.parents('li').removeClass("active"); 334 $(this).parents('li').addClass("active"); 335 $('header .contact_box .search input[type=text]').hide(); 336 $('header .contact_box .search #input_'+$(this).attr('id')).show(); 337 return false; 338 });*/ 339 340 //SHOW OBSAH 341 var hpObsahTabs = $('.obsah_list ul.tabs li a'); 342 $('.obsah_list ul.tabs li a').click(function(){ 343 if( $(this).hasClass('click') ){ 344 }else if ( $(this).parents('li').hasClass('active') ){ 345 return false; 346 }else{ 347 var thisTab = $(this); 348 hpObsahTabs.parents('li').removeClass("active"); 349 thisTab.parents('li').addClass("active"); 350 $('.obsah_list .obsah.active').slideUp(250); 351 setTimeout(function() { 352 $('.obsah_list .obsah').removeClass('active'); 353 $('.obsah_list #obsah_'+thisTab.attr('id')).slideDown().addClass('active'); 354 355 }, 250); 356 357 return false; 358 } 359 360 }); 361 362 363 364 365 366 367 368 369 370 371 372 373 374 $('.drobky ul li:last').addClass('last'); 375 $('.drobky ul li:first').addClass('first'); 376 377 378 $('.submenu_box').each(function(n) { 379 $(this).find('ul.submenu').each(function(i) { 380 $(this).addClass("position_"+(i+1)); 381 }); 382 }); 383 384 $('.count_table .item').each(function(n) { 385 var count = $(this).find('article table tr').length; 386 if(count == 1){ 387 $(this).find('span.count').text('(' + count + ' grant)') 388 }else if( (count < 5) && (count > 1) ){ 389 $(this).find('span.count').text('(' + count + ' granty)') 390 }else{ 391 $(this).find('span.count').text('(' + count + ' grantů)') 392 } 393 394 395 396 }); 397 398 $('.lines-button').click(function(){ 399 if($(this).hasClass('close')){ 400 $(this).removeClass('close'); 401 $('nav .nav_scroll').slideUp(250); 402 }else{ 403 $(this).addClass('close'); 404 $('nav .nav_scroll').slideDown(250); 405 } 406 }); 407 408 409 410 if(windowWidth > 1024){ 411 $('nav .nav_scroll').addClass('active') 412 $('.open_close_menu').hide(); 413 $('nav').removeClass('respons') 414 $('nav .nav_scroll').css({'opacity' : '1'}) 415 }else{ 416 $('nav .nav_scroll').removeClass('active') 417 $('.open_close_menu').show(); 418 $('nav').addClass('respons'); 419 $('nav .nav_scroll').css({'opacity' : '1'}) 420 } 421 422 423 424 425 426 $('.submenu_box').each(function() { 427 var thisSubmenuBoxHeight = $(this).outerHeight(); 428 $(this).find('ul').css({'min-height' : thisSubmenuBoxHeight}) 429 $(this).find('ul.submenu:has(li)').addClass('hassub'); 430 $(this).find('ul.submenu:last').addClass('last'); 431 }); 432 433 $('.article_list .row:has(.item)').addClass('line'); 434 435 436 437 $('.file_list a').each(function(n) { 438 if( ($(this).find('span.extension').text() == 'doc') || ($(this).find('span.extension').text() == 'docx') || ($(this).find('span.extension').text() == 'xls') || ($(this).find('span.extension').text() == 'xlsx') ){ 439 $('.microsoft').show(); 440 } 441 }); 442 $('.file_list a').each(function(n) { 443 if( ($(this).find('span.extension').text() == 'pdf') ){ 444 $('.adobe').show(); 445 } 446 }); 447 $('.file_list a').each(function(n) { 448 if( ($(this).find('span.extension').text() == 'ppt') || ($(this).find('span.extension').text() == 'pptx') ){ 449 $('.prezentace').show(); 450 } 451 }); 452 453 454 $('.uploadBtn').change(function(){ 455 $(this).parents('td').find('.uploadFile').val($(this).val()); 456 }); 457 458 $('.uploadBtn').change(function(){ 459 $(this).parents('.relative_file').find('.uploadFile').val($(this).val()); 460 }); 461 462 if ($.cookie('clickCount') != 0){ 463 var clickCount = $.cookie('clickCount'); 464 }else{ 465 var clickCount = 0; 466 } 467 $("#sizeUp").click(function(){ 468 if( clickCount != 3 ){ 469 $('*').each(function() { 470 var curFontSize = $(this).css('font-size'); 471 $(this).css("font-size",parseInt(curFontSize)+1); 472 }); 473 clickCount++; 474 $.cookie('clickCount', clickCount, { expires: 7, path: '/' }); 475 } 476 return false;
477 }); 478 479 $("#sizeDown").click(function(){ 480 if( clickCount != -3 ){ 481 $('*').each(function() { 482 var curFontSize = $(this).css('font-size'); 483 $(this).css("font-size",parseInt(curFontSize)-1); 484 }); 485 clickCount--; 486 $.cookie('clickCount', clickCount, { expires: 7, path: '/' }); 487 } 488 return false; 489 }); 490 491 if ($.cookie('clickCount') != 0){ 492 $('*').each(function() { 493 var curFontSize = $(this).css('font-size'); 494 if ($.cookie('clickCount') < 0){ 495 $(this).css("font-size",parseInt(curFontSize)-Math.abs(parseInt($.cookie('clickCount')))); 496 }else{ 497 $(this).css("font-size",parseInt(curFontSize)+Math.abs(parseInt($.cookie('clickCount')))); 498 } 499 }); 500 } 501 502 $('aside ul.department li:has(ul)').addClass('hassub'); 503 /* 504 $('aside ul.department.main li.hassub > a').click(function(){ 505 if(windowWidth < 767){ 506 507 }else{ 508 if($(this).closest('li').hasClass('open')){ 509 var thisItem = $(this) 510 thisItem.closest('li').find('ul.submenu:first').slideUp(250); 511 setTimeout(function() {thisItem.closest('li').removeClass('open')}, 250); 512 513 }else{ 514 if($(this).closest('li').hasClass('active')){ 515 $(this).closest('li').removeClass('active').find('ul.submenu:first').slideUp(250); 516 }else{ 517 $('aside ul.department li').removeClass('active').find('ul.submenu:first').slideUp(250); 518 $('aside ul.department li span').removeClass('active'); 519 $(this).closest('li').addClass('active').find('ul.submenu:first').slideDown(250); 520 } 521 } 522 523 return false; 524 525 } 526 527 }); 528 */ 529 530 531 532 533 $('aside ul.department li a').click(function(){ 534 if( $(this).hasClass('return_false') ){ 535 536 if($(this).closest('li').hasClass('open')){ 537 $(this).closest('li').find('ul:first').slideUp(); 538 $(this).closest('li').removeClass('open'); 539 }else{ 540 $(this).closest('li').find('ul:first').slideDown(); 541 $(this).closest('li').addClass('open'); 542 } 543 544 return false; 545 546 } 547 }); 548 549 $('aside ul.department li a span.open_icon').click(function(){ 550 if($(this).closest('li').hasClass('open')){ 551 $(this).closest('li').find('ul:first').slideUp(); 552 $(this).closest('li').removeClass('open'); 553 }else{ 554 $(this).closest('li').find('ul:first').slideDown(); 555 $(this).closest('li').addClass('open'); 556 } 557 558 return false; 559 }); 560 561 562$('.page_scroll li a').click(function(){ 563 var thisItem = $(this); 564 if ( $(window).width() < 1025 ){ 565 var offSet = $('#scroll_'+thisItem.attr('id')).offset().top - 15; 566 }else{ 567 var offSet = $('#scroll_'+thisItem.attr('id')).offset().top - 65; 568 } 569 $('html,body').animate({ scrollTop: offSet }, 600); 570 return false; 571}); 572 573$('.dictionary li a').click(function(){ 574 if( $(this).parents('.dictionary').hasClass('no_scroll') ){ 575 576 }else{ 577 578 var thisItem = $(this); 579 if ( $(window).width() < 1025 ){ 580 var offSet = $('#title_'+thisItem.attr('id')).offset().top - 15; 581 }else{ 582 var offSet = $('#title_'+thisItem.attr('id')).offset().top - 65; 583 } 584 585 $('html,body').animate({ scrollTop: offSet }, 600); 586 return false; 587 588 } 589 590}); 591 592 593 $('.contact_vypis .item a.link.left').click(function(){ 594 $(this).animate({'opacity' : 0}).css({'cursor' : 'default'}) 595 $(this).parents('.item').addClass('active').find('.description').slideDown(250); 596 return false; 597 }); 598 599 $('.contact_vypis .item a.link.right').click(function(){ 600 $(this).parents('.item').find('a.link.left').animate({'opacity' : 1}).css({'cursor' : 'pointer'}) 601 $(this).parents('.item').addClass('active').find('.description').slide
601Up(250); 602 return false; 603 }); 604 605 $('footer .link.employee').click(function(){ 606 $('#employee_overlay').addClass('active') 607 $('#employee_box').addClass('active') 608 $('body').addClass('blur') 609 return false; 610 }); 611 612 $('#employee_box span.close').click(function(){ 613 $('#employee_box').removeClass('active') 614 setTimeout(function() { 615 $('#employee_overlay').removeClass('active') 616 $('body').removeClass('blur') 617 }, 300); 618 return false; 619 }); 620 621 $('#employee_overlay').click(function(){ 622 $('#employee_box span.close').click(); 623 }); 624 625 626 $(document).keydown(function(e){ 627 if(e.keyCode == 27) { 628 $('#employee_box span.close').click(); 629 } 630 }); 631 632 $('aside p.title:not(.special)').click(function(){ 633 if ( $(this).hasClass('active') ){ 634 $(this).removeClass('active') 635 $(this).parents('.div').find('*[name="show"]').slideUp(250) 636 }else{ 637 $(this).addClass('active') 638 $(this).parents('.div').find('*[name="show"]').slideDown(250) 639 } 640 }); 641 642 $('aside p.title.special').click(function(){ 643 if ( $(this).hasClass('active') ){ 644 $(this).removeClass('active') 645 $(this).parents('.div').find('.video_list').slideUp(250) 646 }else{ 647 $(this).addClass('active') 648 $(this).parents('.div').find('.video_list').slideDown(250) 649 } 650 }); 651 652 653 654 655 $( "footer .info_list .item.four .news a, .obsah_list .news_list .item a, .article_list .item a" ).hover(function() { 656 $( this ).parents('.item').addClass( "hover_efekt" ); 657 }, function() { 658 $( this ).parents('.item').removeClass( "hover_efekt" ); 659 }); 660 661 $( ".obsah_list .main_news a" ).hover(function() { 662 $( this ).parents('.main_news').addClass( "hover_efekt" ); 663 }, function() { 664 $( this ).parents('.main_news').removeClass( "hover_efekt" ); 665 }); 666 667 var newsHeight = $('.obsah_list .main_news').outerHeight(); 668 $('.obsah_list ul.vypis li').css({'height' : newsHeight / 3}) 669 670 $('article img').each(function(){ 671 if( $(this).css('float') == 'right') { 672 $(this).css({'margin-left' : 15}) 673 }else if( $(this).css('float') == 'left'){ 674 $(this).css({'margin-right' : 15}) 675 }else{ 676 677 $(this).parents('p').addClass('center') 678 var thisItemText = $(this).attr('alt') != undefined ? $(this).attr('alt') : ""; 679 var thisItemSource = $(this).attr('src'); 680 $(this).wrap(function() { 681 return "<a href='" + thisItemSource + "' title='" + thisItemText + "' class='swipebox' rel='gallery' />"; 682 }); 683 684 685 } 686 }); 687 688 689 if( windowWidth > 1240){ 690 $('.contact_vypis').each(function(){ 691 692 var count = $(this).find('.item').length; 693 if (count == 1){ 694 $(this).addClass('border_bottom'); 695 }else if(count == 3){ 696 if( $(this).hasClass('default') ){ 697 $(this).addClass('border_bottom'); 698 }else{ 699 $(this).addClass('three_in_line'); 700 } 701 }else if(count%2 == 1 ){ 702 $(this).addClass('border_bottom'); 703 } 704 console.log(count) 705 }); 706 707 }else{ 708 $('.contact_vypis').each(function(){ 709 var count = $(this).find('.item').length; 710 if (count == 1){ 711 $(this).addClass('border_bottom'); 712 }else if(count == 3){ 713 if( $(this).hasClass('default') ){ 714 }else{ 715 $(this).removeClass('three_in_line'); 716 $(this).addClass('border_bottom'); 717 } 718 }else if(count%2 == 1 ){ 719 $(this).addClass('border_bottom'); 720 } 721 }); 722 } 723 724 725 726 if(windowWidth > 1240){ 727 $('.contact_vypis.three_in_line .item:last').addClass('last'); 728 729 var maxHeight = 0; 730 $(".contact_vypis.three_in_line .item").each(function(){ 731 if ($(this).height() > maxHeight) { maxHeight = $(this).height(); } 732 }); 733 734 $('.contact_vypis.three_in_line .item').css({'min-height' : maxHeight}); 735 }else{ 736 $('.contact_vypis.three_in_line .item:last').removeClass('last'); 737 738 var maxHeight = 0; 739 $(".contact_vypis.three_in_line .item").each(function(){ 740 if ($(this).height() > maxHeight) { maxHeight = $(this).height(); } 741 }); 742 743 $('.contact_vypis.three_in_line .item').css({'min-height' : 'initial'}); 744 } 745 746 $('article a.swipebox').each(function(){ 747 var thisItemText = $(this).attr('title'); 748 $(this).append($("<span></span>").html(thisItemText)); 749 }); 750 751}); 752 753 754 755$(window).resize(function(){ 756 757 758 759 760 761 var windowWidth = $(window).width(); 762 var windowHeight = $(window).height(); 763 //console.log(windowWidth) 764 765 766 767 if(windowWidth > 1024){ 768 $('nav .nav_scroll').addClass('active') 769 $('.open_close_menu').hide(); 770 $('nav').removeClass('respons') 771 $('nav .nav_scroll').css({'opacity' : '1'}) 772 }else{ 773 $('nav .nav_scroll').removeClass('active') 774 $('.open_close_menu').show(); 775 $('nav').addClass('respons'); 776 $('nav .nav_scroll').css({'opacity' : '1'}) 777 } 778 779 780 781 782 783 784 785 786 var newsHeight = $('.obsah_list .main_news').outerHeight(); 787 $('.obsah_list ul.vypis li').css({'height' : newsHeight / 3}) 788 789 790 791 792 if( windowWidth > 1240){ 793 $('.contact_vypis').each(function(){ 794 var count = $(this).find('.item').length; 795 if (count == 1){ 796 $(this).addClass('border_bottom'); 797 }else if(count == 3){ 798 $(this).addClass('three_in_line'); 799 }else if(count%2 == 1 ){ 800 $(this).addClass('border_bottom'); 801 } 802 }); 803 }else{ 804 $('.contact_vypis').each(function(){ 805 var count = $(this).find('.item').length; 806 if (count == 1){ 807 $(this).addClass('border_bottom'); 808 }else if(count == 3){ 809 $(this).removeClass('three_in_line'); 810 $(this).addClass('border_bottom'); 811 }else if(count%2 == 1 ){ 812 $(this).addClass('border_bottom'); 813 } 814 }); 815 } 816 817 if(windowWidth > 1240){ 818 $('.contact_vypis.three_in_line .item:last').addClass('last'); 819 820 var maxHeight = 0; 821 $(".contact_vypis.three_in_line .item").each(function(){ 822 if ($(this).height() > maxHeight) { maxHeight = $(this).height(); } 823 }); 824 825 $('.contact_vypis.three_in_line .item').css({'min-height' : maxHeight}); 826 }else{ 827 $('.contact_vypis.three_in_line .item:last').removeClass('last'); 828 829 var maxHeight = 0; 830 $(".contact_vypis.three_in_line .item").each(function(){ 831 if ($(this).height() > maxHeight) { maxHeight = $(this).height(); } 832 }); 833 834 $('.contact_vypis.three_in_line .item').css({'min-height' : 'initial'}); 835 } 836 837 838 839}); 840
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.