1if(typeof($j)!='undefined'){ 2dropdown_nav_init = function(){ 3 var nav = $j('#topNav'); 4 var navRight = nav.offset().left + nav.width(); 5 nav.find('ul').show().each(function(){ 6 var menu = $j(this); 7 var menuRight = menu.offset().left + menu.width(); 8 if(menuRight-navRight>0) { menu.addClass('right'); } 9 }).css('display',''); 10 nav.find('a').each(function(){ 11 var menu = $j(this).parent(); 12 var hoverTimer; 13 var cancelHover = function(){ 14 if(!menu.hasClass('over')){ menu.removeClass('hover') } 15 } 16 menu.hover( 17 function(){ //mouse over 18 clearTimeout(hoverTimer); 19 menu.parent().find('.hover').removeClass('hover'); 20 menu.addClass('hover').addClass('over'); 21 }, 22 function(){ //mouse out 23 menu.removeClass('over'); 24 hoverTimer=setTimeout(function(){cancelHover();},500); 25 } 26 ); 27 }); 28}; 29} 30else { debug.warn("Please enable the jQuery Site Setting for better dropdown navigation."); }
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.