1// JavaScript Document 2$(document).ready(function() { 3 4 $('#catmenu li.active').append('<span id="menuSwitsch"></span>'); 5 6 $('#menuSwitsch').toggle(function() { 7 $('#mainmenu').slideUp(); 8 $(this).addClass('down'); 9 }, function() { 10 $('#mainmenu').slideDown(); 11 $(this).removeClass('down'); 12 }); 13 14 var menuW = $('#mainmenu ul').size()*184; 15 16 var menuItems = Array(); 17 18 $('#mainmenu ul').each(function() { 19 menuItems.push($(this).height()); 20 }); 21 22 function numComparisonAsc(a, b) { 23 return a-b; 24 } 25 26 menuItems.sort(numComparisonAsc); 27 var menuH = menuItems[menuItems.length-1]+18; 28 29 $('#mainmenu').width(menuW); 30 $('#mainmenu').height(menuH); 31 32 $('#mainmenu a:not(.active), .kb_eventboard-entry').hover(function(){ 33 $(this).stop().animate({backgroundColor: '#f7edd8'},200); 34 }, function() { 35 $(this).stop().animate({backgroundColor: '#ffffff'},150); 36 }); 37 38 $('#content a').hover(function(){ 39 $(this).stop().animate({backgroundColor: '#9fbc00'},100); 40 return; 41 }, function() { 42 $(this).stop().animate({backgroundColor: '#ffffff'},150); 43 return; 44 }); 45 46 47}); 48
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.