PageSourceSearch

https://www.esmn-cost.eu/wp-content/plugins/seimo/js/seimo.js?v=07-10-2026-3-39-26&ver=1

js esmn-cost.eu collected 2026-10-07 03:39:56 UTC 5,826 bytes, 178 lines download raw bytes

1jQuery(document).ready(function() {
2	
3	//Landscape Bodyklasse
4	//***************************************************
5	function landscape() {
6		if (window.innerWidth <= 900) {
7			if(window.innerHeight < window.innerWidth){
8				jQuery('body').addClass('landscape');
9			}
10			else {
11				jQuery('body').removeClass('landscape');
12			}
13		}
14		else{
15			jQuery('body').removeClass('landscape');
16		}
17	}
18	landscape();
19	window.addEventListener('resize', landscape);
20	
21	jQuery('.podcast_wrapper').each(function() {
22		let h = jQuery(this).find('.file_podcast').outerHeight();
23		let titleh = jQuery(this).find('.podcast_title').outerHeight();
24		let audioh = jQuery(this).find('audio').outerHeight();
25		//jQuery(this).find('audio').css('margin-top', h-titleh-audioh+'px');
26	});
27	
28	//Downloadlinks immer in neuem Tab
29	//***************************************************
30	jQuery(function() {
31		jQuery('.ddownloads_list a').prop('target', '_blank');
32	});
33	
34	//IOS Klasse
35	//***************************************************
36	if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {
37		jQuery('body').addClass('ios');
38	}
39	
40	//Externe Links immer Target blank
41	//***************************************************
42	/*jQuery('a').each(function() {
43		var a = new RegExp('/' + window.location.host + '/');
44		if (!a.test(this.href)) {
45			jQuery(this).attr("target","_blank");
46		}
47	});	*/
48	
49	jQuery('.home .slideshow_align_caption').append("<a href='/faq/' class='avia-slideshow-button avia-button avia-color-theme-color-subtle av
49ia-multi-slideshow-button avia-slideshow-button-2' data-duration='800' data-easing='easeInOutQuad' style='margin-left: 20px; background: #d9965b; border: none; border-bottom: solid 1px #a96427; color: #fff !important;'>FAQs</a>");
50	
51	jQuery('#working_groups_ctas .av_one_fourth').each(function() {
52		var href = jQuery(this).find('a').attr('href');
53		jQuery(this).prepend("<a class='wg_href' href='"+href+"'></a>");
54	});
55	
56	jQuery('.home .avia-slide-wrap img').css('transform', 'scale(1)');
57	
58	
59	//Mobile Navi Button Top Position
60	//***************************************************
61	function naviscroll() {
62		let scrollpx = (window.scrollY);
63		if (scrollpx > 30) {
64			scrollpx = 30;
65		}
66		let navitop = 50 - scrollpx;
67		jQuery('#responsive-menu-button').css('top', navitop+'px');
68	}
69	if (window.innerWidth >= 767) {
70		naviscroll();
71		window.onscroll = naviscroll;
72	}
73	
74//FUNKTIONEN
75//*************************************************************************************************************************************************************************************
76	
77	//SAME HEIGHT FUNCTION 
78	//***************************************************
79	function same_height(element){
80		if (window.innerWidth >= 600) {
81			var height = 0;
82			jQuery(element).each(function(){
83				if (jQuery(this).height() > height) {
84					height = jQuery(this).height();
85				}	
86			});
87			jQuery(element).height(height);			
88		}
89	}
90	/*same_height_class*/
91	same_height('.same_height'); 
92	window.addEventListener('resize', same_height('.same_height')); 
93	same_height('.same_height_1'); 
94	window.addEventListener('resize', same_height('.same_height_1')); 
95	same_height('.same_height_2'); 
96	window.addEventListener('resize', same_height('.same_height_2')); 
97	/*Working Groups CTAs*/
98	same_height('#working_groups_ctas .av_textblock_section'); 
99	window.addEventListener('resize', same_height('#working_groups_ctas .av_textblock_section'));
100	
101	function pfizermargin() {
102		let colwidth = jQuery('#footer .av_one_third:last-child').outerWidth();
103		let elmwidth = jQuery('.copyright .pfizer').outerWidth();
104		let margin = colwidth-elmwidth;
105		jQuery('.copyright .pfizer').css('margin-right', margin+'px');
106	}
107	pfizermargin();
108	jQuery(window).resize(function(){
109		pfizermargin();
110	});
111	
112	
113	//Font Awesome Zusatzklasse
114	jQuery("i[class^='fa-']").addClass('fas');
115	
116	//Video Player
117	//***************************************************
118	const player = new Plyr('video', {
119		captions: {active: true},
120		controls: ['play-large', 'play', 'progress', 'current-time', 'mute', 'volume', 'settings', 'fullscreen'],
121		settings: ['captions']
122	});
123	function playerheight() {
124		let height = jQuery('.plyr').outerHeight();
125		height = height - 50;
126		jQuery('.plyr__menu__container').css('max-height', height+'px');
127	}
128	playerheight();
129	jQuery(window).resize(function() { 
130		playerheight();
131	});
132	
133	//Malihu Custom Scrollbar
134	jQuery(window).on("load",function(){
135		jQuery(".plyr__menu__container").mCustomScrollbar({
136			theme:"dark-thin",
137			scrollButtons:{ enable: false }
138		});
139	});
140 const esmn_closeButton = document.querySelector("#esmn_closeButton");
141    const esmn_innerContainer = document.querySelector(".esmn_innerContainer");
142    var closePopsupArrow = false;
143    esmn_closeButton.addEventListener("click", function (){
144        if(closePopsupArrow == false){
145            esmn_innerContainer.style.right = "17.2%";
146            esmn_closeButton.innerHTML = "&#8618;";
147            closePopsupArrow = true;
148        }else{
149               esmn_innerContainer.style.right = "-34.9%";
150            esmn_closeButton.innerHTML = "&#8617;";
151            closePopsupArrow = false;
152        esmn_innerContainer.style.transitionDuration = "1s";
153        }
154    });
155    window.addEventListener("DOMContentLoaded", function (){
156         esmn_innerContainer.style.right = "17.2%";
157            esmn_closeButton.innerHTML = "&#8618;";
158            closePopsupArrow = true;
159        esmn_innerContainer.style.transitionDuration = "1s";
160        
161    });
162	const closeButton = document.querySelector(".esmn_close");
163	const esmn_main = document.querySelector(".esmn_main");
164	const esmn_card = document.querySelector(".esmn_card");
165	closeButton.addEventListener("click", ()=>{
166		esmn_card.style.display = "none";
167		esmn_main.style.display = "none";
168		console.log("HELLO");
169	});
170
171	
172});
173
174
175
176
177
178

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.