1$(function() { 2 $('.menu-top ul').parent().each(function() { 3 var o = $(this); 4 var s = o.find('>ul'); 5 var l = o.parents('ul').length; 6 var k = false; 7 o.hover(function() { 8 o.find('>a').attr('class', 'over'); 9 for (i = $('#menu-top ul').length; i >= 0; i--) { 10 o.parent().find('>li').not(o).find('ul').eq(i).hide(); 11 } 12 k = true; 13 var p = o.position(); 14 var ts, ls; 15 if (l == 1) { 16 ts = p.top + o.height(); 17 ls = p.left; 18 } else { 19 ts = p.top; 20 ls = p.left + o.width(); 21 } 22 s.css({ 23 top: ts, 24 left: ls 25 }).show(); 26 }, 27 function() { 28 o.find('>a').attr('class', 'normal'); 29 k = false; 30 window.setTimeout(function() { 31 if (!k) s.hide(); 32 }, 33 500); 34 }); 35 }); 36})
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.