1 2/*! 3 * Simple jQuery Equal Heights 4 * 5 * Copyright (c) 2013 Matt Banks 6 * Dual licensed under the MIT and GPL licenses. 7 * Uses the same license as jQuery, see: 8 * http://docs.jquery.com/License 9 * 10 * @version 1.5.1 11 */ 12(function($) { 13 14 $.fn.equalHeights = function() { 15 var maxHeight = 0, 16 $this = $(this); 17 18 $this.each( function() { 19 var height = $(this).innerHeight(); 20 21 if ( height > maxHeight ) { maxHeight = height; } 22 }); 23 24 return $this.css('height', maxHeight); 25 }; 26 27 // auto-initialize plugin 28 $('[data-equal]').each(function(){ 29 var $this = $(this), 30 target = $this.data('equal'); 31 $this.find(target).equalHeights(); 32 }); 33 34})(jQuery); 35 36/*! 37 * Pressekonditionen Sitepackage v1.0.0 (https://superscreen.de) 38 * Copyright 2017-2019 Marco Jurow 39 * Licensed under the GPL-2.0-or-later license 40 */ 41 42$('.ListbyCatforGrid').equalHeights(); 43$(window).on("resize", function( event ){ refreshGTSlot(); }); 44 45$(document).ready(function(){ 46 if($("#fin").isOnScreen()){}else{ 47 $( ".footAd" ).fadeOut();; 48 } 49}); 50 51 52var footBanner = 0; 53 54window.addEventListener('scroll', function(e){ 55 56 state = $( ".footAd" ).css('display'); 57 58 if(footBanner==0){ 59 60 if($("#fin").isOnScreen()){ 61 footBanner = 1; 62 $( ".footAd" ).fadeIn("slow");; 63 } 64 } 65}); 66 67$( ".btn_close" ).on( "click", function() { 68 $( ".footAd" ).fadeOut("slow");; 69}); 70 71$.fn.isOnScreen = function(){ 72 var win = $(window); 73 var viewport = { top : win.scrollTop(), left : win.scrollLeft() }; 74 viewport.right = viewport.left + win.width(); 75 viewport.bottom = viewport.top + win.height(); 76 var bounds = {left:"", right:""}; 77 78 try { 79 bounds = this.offset(); 80 bounds.right = bounds.left + this.outerWidth(); 81 bounds.bottom = bounds.top + this.outerHeight(); 82 return (!(viewport.right < bounds.left || viewport.left > bounds.right || viewport.bottom < bounds.top || viewport.top > bounds.bottom)); 83 } 84 catch (ex) { 85 return false; 86 } 87};
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.