PageSourceSearch

https://www.arantxa-coca.com/js/broccoli-fold-unfold-infobox.js

js arantxa-coca.com collected 2026-10-08 09:30:20 UTC 527 bytes, 19 lines download raw bytes

1$( function() {
2	$('.fold-unfold-infobox').each( function() {
3		var TRANS_DURATION = 300;
4		var infobox = $(this);
5		var visible_part = infobox.find('.visible-part');
6		var hidden_part = infobox.find('.hidden-part');
7		var button = infobox.find('.toggle-button');
8		button.on('click', function() {
9			hidden_part.slideToggle(TRANS_DURATION, function() {
10				if(hidden_part.is(':visible')) {
11					infobox.addClass('unfolded');
12				} else {
13					infobox.removeClass('unfolded');
14				}
15			});
16		});
17		hidden_part.hide();
18	});
19});

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.