PageSourceSearch

https://stieglarsson.info/content/clientscript/sdd-menu.js

js stieglarsson.info collected 2026-10-02 14:21:35 UTC 638 bytes, 25 lines download raw bytes

1var timeout    = 500;
2var closetimer = 0;
3var ddmenuitem = 0;
4
5function jsddm_open()
6{  jsddm_canceltimer();
7   jsddm_close();
8   ddmenuitem = $(this).find('ul').css('visibility', 'visible');}
9
10function jsddm_close()
11{  if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}
12
13function jsddm_timer()
14{  closetimer = window.setTimeout(jsddm_close, timeout);}
15
16function jsddm_canceltimer()
17{  if(closetimer)
18   {  window.clearTimeout(closetimer);
19      closetimer = null;}}
20
21$(document).ready(function()
22{  $('#jsddm > li').bind('mouseover', jsddm_open)
23   $('#jsddm > li').bind('mouseout',  jsddm_timer)});
24
25document.onclick = jsddm_close;

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.