PageSourceSearch

https://www.parcostelviotrentino.it/default/js/extended.js

js parcostelviotrentino.it collected 2026-09-26 03:01:07 UTC 1,750 bytes, 42 lines download raw bytes

1/* Custom Javascript ______________________________________________*/
2
3
4/* Replace Paging _________________________________________________*/
5
6	function replacePaging (sFormName) {
7	
8		$$('div.umblattern').each(function(oDiv) {
9		
10			oDiv.select('a').each(function(oA) {
11			
12				if (oA.hasClassName('p2')) {
13					oA.href = 'javascript:$(\'' + sFormName + 'lPageNumber\').value=parseInt($(\'' + sFormName + 'lPageNumber\').value, 10) - 1;' + sFormName + '.bLockAjax = false;' + sFormName + '.checkFormular(' + sFormName + 'Data);$(\'liste\').insert({ top: \'<div id="over" class="over">&nbsp;</div>\' });void(0);';
14				} else if (oA.hasClassName('p3')) {
15					oA.href = 'javascript:$(\'' + sFormName + 'lPageNumber\').value=parseInt($(\'' + sFormName + 'lPageNumber\').value, 10) + 1;' + sFormName + '.bLockAjax = false;' + sFormName + '.checkFormular(' + sFormName + 'Data);$(\'liste\').insert({ top: \'<div id="over" class="over">&nbsp;</div>\' });void(0);';
16				} else {
17					oA.href = 'javascript:$(\'' + sFormName + 'lPageNumber\').value=' + oA.innerHTML + ';' + sFormName + '.bLockAjax = false;' + sFormName + '.checkFormular(' + sFormName + 'Data);$(\'liste\').insert({ top: \'<div id="over" class="over">&nbsp;</div>\' });void(0);';
18				}
19			
20			});
21		
22		});
23		
24		if ($(sFormName + 'sSearchTerm')) {
25			
26			$(sFormName + 'sSearchTerm').observe('keypress', function(oEvent) {
27				
28				if (oEvent.keyCode == 13 && !oEvent.shiftKey) {
29					$('liste').insert({ top: '<div id="over" class="over">&nbsp;</div>' });
30				}
31			});
32			
33		}
34	
35	}
36	
37	function setPageNumber (sFormName) {
38	
39		$(sFormName + 'lPageNumber').value = 1;
40		$('liste').insert({ top: '<div id="over" class="over">&nbsp;</div>' });
41	
42	}

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.