PageSourceSearch

https://www.debilos.fr/wp-content/plugins/easy-faq-with-expanding-text/faqmaker.js?ver=3.9.40

js debilos.fr collected 2026-10-04 16:50:45 UTC 2,240 bytes, 50 lines download raw bytes

1jQuery(document).ready(function($) {
2		$('.bg_faq_content_section').each( function(){
3		
4		foldup = $(this).data('foldup');
5		
6		
7		
8		$(this).find(' :header:not(h6)').each(function(){ // select all the heading in .bg_faq_content_section other than h6
9			if ( !$(this).hasClass('bg_faq_closed')) {
10                        $(this).addClass('bg_faq_closed'); 					//make these heading "closed"
11			$(this).attr('data-foldupq', foldup);
12			$(this).nextUntil(':header').css({'display':'none'}); 	//hide everything up until the next heading
13			var textsize = $(this).css('font-size'); 				//get the font size in order to more accurately position the visual cue
14			var halftextsize = parseInt(textsize)/2;
15			var backgroundpos = Math.round(halftextsize)-10;
16			var padding = $(this).css('padding-top'); 				//get the padding in order to help us position the visual cue
17			var padding = parseInt(padding);
18			var backgroundpos = Math.round(halftextsize)-10+padding;
19			$(this).css({'background-position-y': backgroundpos}); //position the visual cue
20			
21		$(this).click(function(){
22				foldup = $(this).attr('data-foldupq');
23																		//whenever one of these headings is clicked,
24			if($(this).hasClass('bg_faq_opened')) {	
25				
26			//check to see if it's opened. If so,...
27				$(this).nextUntil(':header').slideUp();			//slide up the content beneath it and mark this heading "closed"
28				$(this).removeClass('bg_faq_opened').addClass('bg_faq_closed');
29				}
30		else {															//if it isn't opened,
31		if(foldup=='yes') {												//check to see we are supposed to fold up other content so only one answer shows at a time.
32//		console.log('foldup = yes');
33				
34				$(this).parents('.bg_faq_content_section').eq(0).find('.bg_faq_opened').not(this).each(function(){					//if so...
35				$(this).nextUntil(':header').slideUp();			//foldup other content and mark the headings as closed
36				$(this).removeClass('bg_faq_opened').addClass('bg_faq_closed');
37			})
38		}
39		$(this).nextUntil(':header').slideDown();					//then roll out the content and mark the heading as opened
40		$(this).removeClass('bg_faq_closed').addClass('bg_faq_opened');
41		}
42		
43		
44		})			
45                }
46		});
47		
48
49	});
50	});

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.