1// ¬xÝè 2var SubNavSpeed = new Array(); 3SubNavSpeed['news'] = 600; 4SubNavSpeed['cinema'] = 400; 5SubNavSpeed['det'] = 600; 6 7$(function(){ 8 $('#main .nav > li').find('ul li').css('opacity','0'); 9 $('#main .nav > li').find('ul li a').css('height','0'); 10 11 $('#main .nav > li').mouseenter(function(){ 12 var classVal = $(this).attr('class'); 13 $(this).find('ul li').each(function(i){ 14 $(this).stop(true, true).animate( {'opacity': '1'} , 600); 15 switch ($(this).attr('class')) { 16 case 'latest-news': 17 case 'cinema-goods': 18 case 'introduction': 19 $(this).children('a').stop(false, false).animate( {'height': '22px'} , SubNavSpeed[classVal]); 20 break; 21 default: 22 $(this).children('a').stop(false, false).animate( {'height': '20px'} , SubNavSpeed[classVal]); 23 break; 24 } 25 }); 26 }); 27 28 $('#main .nav > li').mouseleave(function(){ 29 var classVal = $(this).attr('class'); 30 $(this).find('ul li').each(function(i){ 31 $(this).stop(true, true).animate( {'opacity': '0'} , 600); 32 $(this).children('a').stop(false, false).animate( {'height': '0'} , SubNavSpeed[classVal]); 33 }); 34 }); 35}); 36
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.