PageSourceSearch

https://budaifarkasok.hu/wp-content/plugins/accordions/assets/frontend/js/scripts.js?ver=7.1

js budaifarkasok.hu collected 2026-09-25 10:35:10 UTC 1,783 bytes, 84 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	$(".expand-collapse").click(function() {
4		
5		if( $(this).hasClass("active") ) $(this).removeClass("active");
6		else $(this).addClass("active");
7
8		accordion_id = $(this).attr("accordion-id");
9        $("#accordions-"+accordion_id+" .ui-accordion-header:not(.ui-state-active)").next().slideToggle();
10		console.log(accordion_id);
11	});
12
13	$(".accordions-head").click(function () {
14
15
16		toogle_text = $(this).attr('toogle-text');
17		main_text = $(this).attr('main-text');	
18
19
20
21		if(accordions_header_toggle=='yes'){
22
23            if( $(this).hasClass('ui-state-active') ){
24
25                if( main_text != null  && main_text != ''){
26
27                    $(this).children('.accordions-head-title').html(main_text);
28                }
29            } else {
30
31                if( toogle_text != null && toogle_text != ''){
32
33                    $(this).children('.accordions-head-title').html(toogle_text);
34                }
35            }
36
37            id = $(this).attr( 'id' );
38        }
39
40
41        if(accordions_click_track=='yes'){
42
43            header_id = $(this).attr('header_id');
44            post_id = $(this).attr('post_id');
45
46            $.ajax(
47                {
48                    type: 'POST',
49                    context: this,
50                    url:accordions_ajax.accordions_ajaxurl,
51                    data: {
52                        "action" 	: "accordions_ajax_track_header",
53                        "header_id" : header_id,
54                        "post_id" : post_id,
55
56                    },
57                    success: function( data ) {
58
59
60                        console.log(data);
61
62
63                    } });
64
65        }
66
67
68	});
69
70
71
72
73
74
75
76
77
78
79
80});	
81
82
83
84

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.