PageSourceSearch

https://sajems.org/plugins/themes/aosis/js/dropdowner.js

js sajems.org collected 2026-10-02 06:01:42 UTC 807 bytes, 31 lines download raw bytes

1function toggleDrop(elementid, dropped) {
2	if(dropped != "True") {
3		$("#" + elementid).attr("dropped", "True");
4		$("#" + elementid).css("maxHeight", "10000px");
5	} else {
6		$("#" + elementid).attr("dropped", "False");
7		$("#" + elementid).css("maxHeight", "0");
8	}
9}
10
11
12
13jQuery(document).ready(function(){
14	jQuery(".dropHeading").click(function(index){
15		var dropped = $(this).attr("dropped");
16		if(dropped != "True") {
17			$(this).attr("dropped", "True");
18		} else {
19			$(this).attr("dropped", "False");
20		}
21		var id = $(this).attr("dropid");
22		toggleDrop(id, dropped);
23	});
24	jQuery(".dropHeading").each(function(index){
25		var dropped = $(this).attr("dropped");
26		if(dropped != "True") {
27			var id = $(this).attr("dropid");
28			$("#" + id).css("maxHeight", "0");
29		}
30	});
31});

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.