PageSourceSearch

https://www.privates-gymnasium.de/wp-content/themes/Avada-Child-Theme/js/custom.js?ver=1.1

js privates-gymnasium.de collected 2026-10-08 08:06:26 UTC 1,829 bytes, 52 lines download raw bytes

1jQuery(window).load(function(){
2
3  // add image carousel description
4
5  jQuery(".fusion-image-carousel .fusion-carousel-item").each( function(){
6
7    var altString = jQuery(this).find(".fusion-carousel-item-wrapper img").attr("alt");
8    var linkString = jQuery(this).find(".fusion-carousel-item-wrapper a").attr("href");
9    var splits = altString.split('#');
10
11    jQuery(this).append( '<div class="fusion-carousel-item-content"><h3>' + splits[0] + '</h3><p>' + splits[1] + '</p><a href="' + linkString + '">' + splits[2] + '</a></div>' );
12
13  });
14
15});
16
17jQuery( document ).ready(function() {
18
19	  let cookie = Cookies.get('cookieAC');
20    if (cookie == 'true' && jQuery('.calendar').length > 0) { 
21    	jQuery('.calendar').html(jQuery('.calendar').html().replace('<div ','<iframe ').replace('</div>', '</iframe>'));
22			jQuery('.cookie-holder').addClass('hide');
23			jQuery('.hide-cookie').removeClass('hide');
24    }
25
26		jQuery('.cookie-holder .fusion-button').click(function() {
27			jQuery('.calendar').html(jQuery('.calendar').html().replace('<div ','<iframe ').replace('</div>', '</iframe>'));
28			jQuery('.cookie-holder').addClass('hide');
29			jQuery('.hide-cookie').removeClass('hide');
30			Cookies.set('cookieAC', 'true', { expires: 30 });
31    });
32
33    jQuery('.hide-cookie span').click(function() {
34			jQuery('.calendar').html(jQuery('.calendar').html().replace('<iframe ','<div ').replace('</iframe>','</div>'));
35			jQuery('.cookie-holder').removeClass('hide');
36			jQuery('.hide-cookie').addClass('hide');
37			Cookies.remove('cookieAC');
38    });
39
40
41
42
43});
44
45jQuery(window).load(function(){
46
47/* toggle expanded class if button mehr vorteile or button weniger vorteile is clicked   */
48jQuery('.see-more-function .toggle-button').on('click', function(){
49		jQuery(this).parents('.see-more-function').toggleClass('expanded');
50	});
51
52});

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.