PageSourceSearch

https://www.herzjesu-weimar.de/files/cto_layout/js/bandoneon.js

js herzjesu-weimar.de collected 2026-10-08 12:06:32 UTC 2,298 bytes, 80 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3    function bandoneon(content, bar) {
4        if (!content.length && !bar.length) return;
5        content.hide();
6        bar.click(function () {
7            bar.removeClass("current");
8            content.not(":hidden").slideUp('slow');
9            var current = $(this);
10            $(this).next()
11                .not(":visible")
12                .slideDown('slow', function () {
13                    current.addClass("current");
14                });
15        });
16    }
17
18    bandoneon($(".accordeonContent"), $(".accordeonToggle"));
19});
20
21jQuery(document).ready(function ($) {
22
23    //
24
25
26    function subSlideDown(_e) {
27        var _s = $(_e).children('ul')[0];
28        if ($(_s).css('display') === 'none') {
29            $('.content-mlist.open').children('ul').first().slideUp('slow');
30            $('.content-mlist.open').removeClass('open');
31            $(_s).slideDown('slow');
32            $(_e).addClass('open');
33
34        } else {
35            $(_s).slideUp('slow');
36            $(_e).removeClass('open');
37        }
38    }
39
40
41    // Generate Submenu Actions
42    $('.content-mlist').each(function(){
43        if($(this).children('ul').length>0){
44
45            var span = $(this).children('span');
46
47            // Move Link
48            var inserted = $(this).children('ul').first().prepend('<li class="content-mlist"><span class="content-linkto">'+span.html() + '</span></li>');
49
50            var insertedContent = $(inserted).find('a').first();
51            insertedContent.html('Inhalt zu ' + insertedContent.html() + ' öffnen');
52
53            $(span).html($(span).find('a').first().html());
54            $(span).addClass('noLink');
55
56
57
58            // Hide current elements
59            $(this).children('ul').hide();
60
61            // Add to the SliderIndex
62
63
64            // Add Click Action
65            var mainElement = $(this);
66            $(span).click(function(){
67                subSlideDown(mainElement);
68            });
69        }
70
71    });
72
73    var headTable = $('#gottesdienstordnung').find('table').first();
74    var headTableContent = headTable.find('thead').first().html();
75    $('.vermeldung').prepend('<thead>' + headTableContent + '</thead>');
76    headTable.remove();
77
78
79});
80

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.