PageSourceSearch

https://www.zzife.edu.cn/js/leftnav.js

js zzife.edu.cn collected 2026-10-02 21:29:39 UTC 760 bytes, 29 lines download raw bytes

1$(function() {
2	var Accordion = function(el, multiple) {
3		this.el = el || {};
4		this.multiple = multiple || false;
5
6		// Variables privadas
7		var links = this.el.find('.linke');
8		// Evento
9		links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown)
10	};
11
12	Accordion.prototype.dropdown = function(e) {
13		var $el = e.data.el;
14			$this = $(this);
15			$next = $this.next();
16
17		$next.slideToggle();
18		$this.parent().toggleClass('open');
19
20		if (!e.data.multiple) {
21			$el.find('.submenu').not($next).slideUp().parent().removeClass('open');
22		}
23	};
24
25	var accordion = new Accordion($('#accordion'), false);
26	$('.submenu li').click(function () {
27		$(this).addClass('current').siblings('li').removeClass('current');
28	});
29});

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.