PageSourceSearch

https://instafree.com/js/accordion/custom.js

js instafree.com collected 2026-09-30 12:08:43 UTC 907 bytes, 32 lines download raw bytes

1	/* ---------------------------------------------------------------------- */
2	/*	Accordion
3	/* ---------------------------------------------------------------------- */
4	
5	(function() {
6
7		var $container = $('.acc-container'),
8			$trigger   = $('.acc-trigger');
9
10		$container.hide();
11		$trigger.first().addClass('active').next().show();
12
13		var fullWidth = $container.outerWidth(true);
14		$trigger.css('width', fullWidth);
15		$container.css('width', fullWidth);
16		
17		$trigger.on('click', function(e) {
18			if( $(this).next().is(':hidden') ) {
19				$trigger.removeClass('active').next().slideUp(300);
20				$(this).toggleClass('active').next().slideDown(300);
21			}
22			e.preventDefault();
23		});
24
25		// Resize
26		$(window).on('resize', function() {
27			fullWidth = $container.outerWidth(true)
28			$trigger.css('width', $trigger.parent().width() );
29			$container.css('width', $container.parent().width() );
30		});
31
32	})();

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.