1window.addEvent('domready', function() { 2 var szNormal = 82, szSmall = 82, szFull = 130; 3 var kwicks = $$("#nav a.inactive"); 4 var home = $$("#nav a.home"); 5 6 var fx = new Fx.Elements(kwicks, {wait: false, duration: 300, transition: Fx.Transitions.Back.easeOut}); 7 kwicks.each(function(kwick, i) { 8 kwick.addEvent("mouseenter", function(event) { 9 var o = {}; 10 o[i] = {width: [kwick.getStyle("width").toInt(), szFull]} 11 kwicks.each(function(other, j) { 12 if(i != j) { 13 var w = other.getStyle("width").toInt(); 14 if(w != szSmall) o[j] = {width: [w, szSmall]}; 15 } 16 }); 17 fx.start(o); 18 }); 19 }); 20 21 $("nav").addEvent("mouseleave", function(event) { 22 var o = {}; 23 kwicks.each(function(kwick, i) { 24 o[i] = {width: [kwick.getStyle("width").toInt(), szNormal]} 25 }); 26 fx.start(o); 27 }); 28 29});
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.