PageSourceSearch

https://marytavyparishcouncil.gov.uk/wp-content/plugins/documents/responsive/script.js?ver=1782467219

js marytavyparishcouncil.gov.uk collected 2026-10-10 01:45:25 UTC 2,899 bytes, 93 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	tableObjects = $("table.documents-documents-list");
4	breakpoint = 700;
5
6	tableObjects.each(function () {
7		var headers = [],
8			artHeaders = ' no-headers';
9		$('tr th', this).each(function () {
10			artHeaders = '';
11			headers.push( $(this).html() );
12		});
13
14		artTable = '<div class="documents art-table' + artHeaders + '"><div class="art-tbody">';
15		$('tr', this).each(function () {
16			if( $(this).find('td').length > 0 ) {
17				artTable += '<div class="art-tr">';
18				$('td', this).each(function () {
19					artTable += '<div class="art-td">';
20					if( '' == artHeaders ) {
21						//artTable += '	<div class="art-td-first">'+headers[$(this).index()]+'</div>';
22					}
23					artTable += '	<div class="art-td-last">'+$(this).html()+'</div>';
24					artTable += '	<div class="art-clearfix"></div>';
25					artTable += '</div>';
26				});
27				artTable += '</div>';
28			}
29		});
30		artTable += '</div></div>';
31
32		$(this).after(artTable);
33	});
34
35
36	tableObjectsacc = $("table.documents-documents-list-acc");
37	breakpoint = 700;
38
39	tableObjectsacc.each(function () {
40		var headers = [],
41			artHeaders = ' no-headers';
42		$('tr th', this).each(function () {
43			artHeaders = '';
44			headers.push( $(this).html() );
45		});
46
47		artTable = '<div class="documents art-table' + artHeaders + '"><div class="art-tbody">';
48		$('tr', this).each(function () {
49			if( $(this).find('td').length > 0 ) {
50				artTable += '<div class="art-tr">';
51				$('td', this).each(function () {
52					artTable += '<div class="art-td">';
53					if( '' == artHeaders ) {
54						//artTable += '	<div class="art-td-first">'+headers[$(this).index()]+'</div>';
55					}
56					artTable += '	<div class="art-td-last">'+$(this).html()+'</div>';
57					artTable += '	<div class="art-clearfix"></div>';
58					artTable += '</div>';
59				});
60				artTable += '</div>';
61			}
62		});
63		artTable += '</div></div>';
64
65		$(this).after(artTable);
66	});
67
68	//---- For ie5 - ie8
69	var div = document.createElement("div");
70	div.innerHTML = "<!--[if lt IE 9]><i></i><![endif]-->";
71	var isIeLessThan9 = (div.getElementsByTagName("i").length == 1);
72	if( isIeLessThan9 ) {
73		$('.art-table .art-tbody .art-tr:nth-child(2n)').addClass('even-rows');
74		$('.art-table .art-tbody .art-tr:nth-child(2n+1)').addClass('odd-rows');
75		if( document.documentElement.offsetWidth < breakpoint ) {
76			tableObjects.css('display','none');
77			$('div.art-table').css('display','block');
78		} else {
79			tableObjects.css('display','block');
80			$('div.art-table').css('display','none');
81		}
82		$(window).on('resize', function () {
83			if( document.documentElement.offsetWidth < breakpoint ) {
84				tableObjects.css('display','none');
85				$('div.art-table').css('display','block');
86			} else {
87				tableObjects.css('display','block');
88				$('div.art-table').css('display','none');
89			}
90		});
91	}
92
93});

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.