PageSourceSearch

https://doeacc.info/cssverticalmenu.js

js doeacc.info collected 2026-10-05 21:26:28 UTC 1,029 bytes, 27 lines download raw bytes

1var menuids=new Array("verticalmenu") //Enter id(s) of UL menus, separated by commas
2var submenuoffset=-2 //Offset of submenus from main menu. Default is -2 pixels.
3
4function createcssmenu(){
5for (var i=0; i<menuids.length; i++){
6  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
7    for (var t=0; t<ultags.length; t++){
8    var spanref=document.createElement("span")
9		spanref.className="arrowdiv"
10		spanref.innerHTML="&nbsp;&nbsp;"
11		ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)
12    ultags[t].parentNode.onmouseover=function(){
13    this.getElementsByTagName("ul")[0].style.left=this.parentNode.offsetWidth+submenuoffset+"px"
14    this.getElementsByTagName("ul")[0].style.display="block"
15    }
16    ultags[t].parentNode.onmouseout=function(){
17    this.getElementsByTagName("ul")[0].style.display="none"
18    }
19    }
20  }
21}
22
23
24if (window.addEventListener)
25window.addEventListener("load", createcssmenu, false)
26else if (window.attachEvent)
27window.attachEvent("onload", createcssmenu)

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.