1var site = function() { 2 this.navLi = jQuery('#nav li').children('ul').hide().end(); 3 this.init(); 4}; 5 6site.prototype = { 7 8 init : function() { 9 this.setMenu(); 10 }, 11 12 // Enables the slidedown menu, and adds support for IE6 13 14 setMenu : function() { 15 16 jQuery.each(this.navLi, function() { 17 if ( jQuery(this).children('ul')[0] ) { 18 jQuery(this) 19 .append('<span />') 20 .children('span') 21 .addClass('hasChildren') 22 } 23 }); 24 25 this.navLi.hover(function() { 26 // mouseover 27 jQuery(this).find('> ul').stop(true, true).slideDown('slow', 'easeOutBounce'); 28 }, function() { 29 // mouseout 30 jQuery(this).find('> ul').stop(true, true).hide(); 31 }); 32 33 } 34 35} 36 37 38new site();
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.