PageSourceSearch

https://www.audiotranskription.de/wp-content/themes/audiotranskrip…/awx-accordion.js?ver=1789461521

js audiotranskription.de collected 2026-10-02 06:21:31 UTC 1,480 bytes, 38 lines download raw bytes

1/****************************
2	Accordion
3****************************/
4
5jQuery(document).ready(function() {
6    jQuery('.accordion__title:not(.accordion__initial--open)').removeClass('accordion__title--open');
7    jQuery('.accordion__content:not(.accordion__initial--open)').removeClass('accordion__content--open');
8    
9	jQuery('.accordion__item').each(function() {
10        var $this = jQuery(this);
11        var isOpen = false;
12        if ($this.children().hasClass('accordion__title--open')) {
13            isOpen = true;
14        }
15		
16		jQuery('.accordion__title', $this).on('click', function() {
17			if (!isOpen) {
18				jQuery(this).addClass("accordion__title--open");
19				jQuery(this).attr('aria-expanded', 'true');
20				//jQuery(".accordion__content", $this).addClass("accordion__content--open");
21                jQuery(".accordion__content", $this).slideDown({
22                    duration: 500, 
23                    easing: 'swing'});
24				jQuery('.accordion__content', $this).attr('aria-expanded', 'true');
25				isOpen = true;
26			} else {
27				jQuery(this).removeClass('accordion__title--open');
28				jQuery(this).attr('aria-expanded', 'false');
29				//jQuery(".accordion__content", $this).removeClass("accordion__content--open");
30                jQuery('.accordion__content', $this).slideUp({
31                    duration: 500, 
32                    easing: 'swing'});
33				jQuery('.accordion__content', $this).attr('aria-expanded', 'false');
34				isOpen = false;
35			}
36		});
37	});
38});

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.