1// START Slick-Slider für POI-Detail 2 3$('.slick-img').slick({ 4 slidesToShow: 1, 5 slidesToScroll: 1, 6 arrows: false, 7 speed: 500, 8 fade: false, 9 asNavFor: '.slick-nav', 10 infinite: true 11}); 12$('.slick-nav').slick({ 13 slidesToShow: 2, 14 slidesToScroll: 1, 15 asNavFor: '.slick-img', 16 dots: false, 17 speed: 500, 18 centerMode: true, 19 focusOnSelect: true, 20 variableWidth: true, 21}); 22 23//END 24 25/* Equalheight */ 26 27(function($) { 28 29 /** 30 * Set all elements within the collection to have the same height. 31 */ 32 $.fn.equalHeight = function(){ 33 var heights = []; 34 $.each(this, function(i, element){ 35 $element = $(element); 36 var element_height; 37 // Should we include the elements padding in it's height? 38 var includePadding = ($element.css('box-sizing') == 'border-box') || ($element.css('-moz-box-sizing') == 'border-box'); 39 if (includePadding) { 40 element_height = $element.innerHeight(); 41 } else { 42 element_height = $element.height(); 43 } 44 heights.push(element_height); 45 }); 46 this.height(Math.max.apply(window, heights)); 47 return this; 48 }; 49 50 /** 51 * Create a grid of equal height elements. 52 */ 53 $.fn.equalHeightGrid = function(columns){ 54 var $tiles = this; 55 $tiles.css('height', 'auto'); 56 for (var i = 0; i < $tiles.length; i++) { 57 if (i % columns === 0) { 58 var row = $($tiles[i]); 59 for(var n = 1;n < columns;n++){ 60 row = row.add($tiles[i + n]); 61 } 62 row.equalHeight(); 63 } 64 } 65 return this; 66 }; 67 68 /** 69 * Detect how many columns there are in a given layout. 70 */ 71 $.fn.detectGridColumns = function() { 72 var offset = 0, cols = 0; 73 this.each(function(i, elem) { 74 var elem_offset = $(elem).offset().top; 75 if (offset === 0 || elem_offset == offset) { 76 cols++; 77 offset = elem_offset; 78 } else { 79 return false; 80 } 81 }); 82 return cols; 83 }; 84 85 /** 86 * Ensure equal heights now, on ready, load and resize. 87 */ 88 $.fn.responsiveEqualHeightGrid = function() { 89 var _this = this; 90 function syncHeights() { 91 var cols = _this.detectGridColumns(); 92 _this.equalHeightGrid(cols); 93 } 94 $(window).bind('resize load', syncHeights); 95 syncHeights(); 96 return this; 97 }; 98 99})(jQuery); 100 101jQuery(function($) { 102 $('.news .boxnewstitle p').equalHeight(); 103}); 104 105 106function emptyfield() { 107 var input = document.getElementById("quicksearch"); 108 document.getElementById("quicksearch").value=""; 109 $('#quicksearch').keyup(); 110}; 111 112function toogleLs() { 113 var x = document.getElementById("ls"); 114 if (x.style.display === "block") { 115 x.style.display = "none"; 116 } else { 117 x.style.display = "block"; 118 } 119};
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.