1var $j = jQuery.noConflict(); 2 3$j(document).ready(function() { 4 5 function hoverOver(){ 6 $j(this).find("ul.sub-menu").stop().fadeTo('fast', 1).show(); 7 } 8 9 function hoverOut(){ 10 $j(this).find("ul.sub-menu").stop().fadeTo('fast', 0, function() { 11 $j(this).hide(); 12 }); 13 } 14 15 var config = { 16 sensitivity: 2, // number = sensitivity threshold (must be 1 or higher) 17 interval: 50, // number = milliseconds for onMouseOver polling interval 18 over: hoverOver, // function = onMouseOver callback (REQUIRED) 19 timeout: 250, // number = milliseconds delay before onMouseOut 20 out: hoverOut // function = onMouseOut callback (REQUIRED) 21 }; 22 23 $j("ul.sub-menu").css({'opacity':'0'}); 24 $j("ul#menu-main li").hoverIntent(config); 25 26});
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.