PageSourceSearch

http://brave.ru/templates/template2014/js/spoList.js

js brave.ru collected 2026-10-02 13:50:30 UTC 2,422 bytes, 65 lines download raw bytes

1$(document).ready(function() {
2/* развёрнутая Болгария */
3	var spoCount = $(".spoList").children("li").length;
4	for (i = 2; i <= spoCount; i++) {
5		$(".spoList").children("li").children(".liHead").eq(i).children(".showArrow").show();
6
7		$(".spoList").children("li").eq(i).children(".separateList").hide();
8		$(".spoList").children("li").eq(i).attr("id", "closed");
9	};
10
11
12
13	$(".spoList").children("li").eq(0).children(".liHead").children(".hideArrow").show();
14	$(".spoList").children("li").eq(1).children(".liHead").children(".hideArrow").show();
15
16	$(".spoList").children("li").eq(0).attr("id", "open");
17	$(".spoList").children("li").eq(1).attr("id", "open");
18
19	$(".spoList").children("li:odd").attr("class", "odd");
20	$(".spoList").children("li:even").attr("class", "even");
21
22
23	$(".spoList").children("li").children(".liHead").click(function() {
24		if ($(this).parent("li").attr("id") == "open") {
25			$(this).parent("li").attr("id", "closed");
26			$(this).children(".showArrow").show();
27			$(this).children(".hideArrow").hide();
28			$(this).parent("li").children(".separateList").slideUp(150);
29		} else {
30			$(this).parent("li").attr("id", "open");
31			$(this).children(".showArrow").hide();
32			$(this).children(".hideArrow").show();
33			$(this).parent("li").children(".separateList").slideDown(150);
34		};
35	});
36});
37
38
39
40
41/* открытые СПО */
42/*	$(".spoList").children("li:odd").attr("class", "odd");
43	$(".spoList").children("li:even").attr("class", "even");
44*/
45/* свёрнутые СПО */
46/*	$(".spoList").children("li").children(".liHead").children(".showArrow").show();
47
48	$(".spoList").children("li").children(".separateList").hide();
49	$(".spoList").children("li").attr("id", "closed");
50	$(".spoList").children("li:odd").attr("class", "odd");
51	$(".spoList").children("li:even").attr("class", "even");
52	$(".spoList").children("li").children(".liHead").click(function() {
53		if ($(this).parent("li").attr("id") == "open") {
54			$(this).parent("li").attr("id", "closed");
55			$(this).children(".showArrow").show();
56			$(this).children(".hideArrow").hide();
57			$(this).parent("li").children(".separateList").slideUp(150);
58		} else {
59			$(this).parent("li").attr("id", "open");
60			$(this).children(".showArrow").hide();
61			$(this).children(".hideArrow").show();
62			$(this).parent("li").children(".separateList").slideDown(150);
63		};
64	});
65*/

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.