PageSourceSearch

https://www.schierker-feuerstein-arena.de/layout/_premium/assets/js/layout.js?__ts=1694167632

js schierker-feuerstein-arena.de collected 2026-10-05 05:15:10 UTC 3,989 bytes, 117 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	// Suche
4	$('.suche-btn, .suche-btn-fs').attr({'aria-expanded': 'false', 'aria-label': 'Volltextsuche \u00f6ffnen' });
5	// -> modern
6	$('.suche-btn, .open-modern-search').on('click', function(ev) {
7		$('.suche-btn, .suche-outer').toggleClass('active');
8		$('.suche-outer form input, .suche-outer form button').attr('tabindex', function(index, attr){
9			return attr == -1 ? null : -1;
10		});
11		if ($('.suche-btn').hasClass('active')) {
12		    $('.suche-btn').attr({ 'aria-expanded': 'true', 'aria-label': 'Volltextsuche schlie\u00dfen' });
13			setTimeout(function() {
14				$('.suche-outer form input[type=text]').focus();
15			}, 25);
16		} else {
17		    $('.suche-btn').attr({ 'aria-expanded': 'false', 'aria-label': 'Volltextsuche \u00f6ffnen' }).focus();
18		}
19	});
20	
21	// -> fullscreen
22	$('.suche-btn-fs, .open-fullscreen-search').on('click', function() {
23		$('.suche-btn-fs').toggleClass('active');
24		$('.suche-fullscreen').toggleClass('flex');
25		$('html').toggleClass('noscroll');
26		
27		if ($('.suche-btn-fs').hasClass('active')) {
28		    $('.suche-btn-fs').attr({ 'aria-expanded': 'true', 'aria-label': 'Volltextsuche schlie\u00dfen' });
29		    $('.suche-fullscreen form input').focus();    
30		} else {
31		    $('.suche-btn-fs').attr({ 'aria-expanded': 'false', 'aria-label': 'Volltextsuche \u00f6ffnen' }).focus();
32		}
33	});
34	
35    $.fn.ikissKeepFocus({
36		elements: [
37			{ selector: '#cookie-note' },
38			{ 
39				selector: '.suche-fullscreen',
40				isVisible: function() { return $('.suche-fullscreen').hasClass('flex'); },
41				extraElements: function() {
42					return $('.modern-search .header-right .flex-inner .suche-btn-fs');
43				}
44			},
45			{ selector: '.modern-nav', isVisible: function() { return $('.modern-nav').hasClass('active'); } }
46		]
47	});
48	
49
50	// Accordion
51	if ($.fn.ikissAccordion) {
52		
53		$('.accordion').ikissAccordion({
54			iconStyle			: 'fa-light',
55			iconOpen			: 'fa-chevron-down',
56			iconClose			: 'fa-chevron-down flip-x',
57			autoOpenFirst		: false, // bei pauschaler Aktivierung muss auf dem Parameterformular "ix_auto_open_first" auskommentiert werden
58			autoClose			: false, // bei pauschaler Aktivierung muss auf dem Parameterformular "ix_auto_close" auskommentiert werden
59			activeCls			: 'active'
60		});
61		
62		// Alte Toggler auf Accordion umstellen
63		ikissAccordion({
64			titleSelector		: '.toggler-title',
65			containerSelector	: '.toggler-container'
66		});
67		ikissAccordion({
68			titleSelector		: '.toggler-link',
69			containerSelector	: '.toggler-container'
70		});
71		
72	}
73	
74	// BITV: Fokus-Hervorhebung durch Tabulator-Taste mit spezieller CSS-Klasse formatieren
75	$('body').on('focusin focusout', 'button, input, select, textarea, a, *[tabindex]', function(ev) {
76		var me = this;
77		
78		if (ev.type == 'focusout') {
79			$(me).removeClass('tab-focus');
80			$(window).off('keyup.tabkey');
81		} else {
82			$(window).one('keyup.tabkey', function (e) {
83			    var keyCode = (e.keyCode ? e.keyCode : e.which);
84				if (keyCode == 9 || keyCode == 13) {
85					if (!$('.tab-focus', me).length) {
86						$(me).closest('.tab-focus').removeClass('tab-focus');
87						$(me).addClass('tab-focus');
88					}
89				}
90			});
91		}
92	});
93
94	// BITV: Fokus beim Klick auf Sprunglinks direkt auf den 1. Navigationspunkt setzen
95	$('#sr-link-subnav').on('click', function(ev) {
96		$('#subnav a').first().focus();
97		ev.preventDefault();
98	});
99	$('#sr-link-quicknav').on('click', function(ev) {
100		$('#quicknav a').first().focus();
101		ev.preventDefault();
102	});
103    
104});
105
106// Variable für Scrollbar-Breite 
107document.documentElement.style.setProperty('--scrollbar-width', (window.innerWidth - document.documentElement.clientWidth) + "px");
108
109// Readspeaker
110window.rsConf = {
111    cb: {
112        ui: {
113            open: function() { $('#readthis').addClass('rs_active'); }, // Klasse ergaenzen, um alle Aufklapper zu oeffnen
114            close: function() { location.reload(); } // Seite aktualisieren, wenn Readspeaker geschlossen wird, da danach das JS nicht mehr funktioniert
115        }
116    }
117};

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.