PageSourceSearch

http://www.integrity-legal.com/js/submenu.js

js integrity-legal.com collected 2026-10-03 00:45:58 UTC 767 bytes, 35 lines download raw bytes

1// JavaScript Document
2
3function subMenu(x){
4	var selectedClass = 'select'; //the CSS class that will select the link
5	var additionalClass = ''; //the CSS class to be applied to add as aditional class
6	
7	//no need to edit beyond here
8	var objPanel = x.getElementsByTagName('a');
9	var subPanel = x.getElementsByTagName('ul');
10	
11	objPanel[0].className += ' '+selectedClass;
12	if(subPanel[0].nodeName == 'UL'){
13		if(subPanel[0].style.visibility != 'visible'){
14			subPanel[0].style.visibility = 'visible';
15		}
16		else
17		{
18			subPanel[0].style.visibility = 'hidden';
19			if(objPanel[0].className += ' '+selectedClass){
20				objPanel[0].className = additionalClass;
21			}
22			else
23			{
24				objPanel[0].className = '';
25			}
26		}
27	}
28}
29	
30	
31	
32	
33	
34	
35	

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.