1$(function(){ 2 3 //å¤çé¡¶é¨å¯¼èª 4 $('.m-nav>li').on('mouseenter', function(e) { 5 var name = $(this).data("name"); 6 var $subnav = $("#" + name + "-cont"); 7 setTimeout(function() { 8 if (name) { 9 if (name === "product") { 10 $subnav.css('height', 360); 11 12 } else if(name === "piano") { 13 $subnav.css('height', 115); 14 }else{ 15 $subnav.css('height', 180); 16 } 17 } else { 18 $subnav.css('height', 0); 19 } 20 }, 100); 21 }).on('mouseleave', function() { 22 var name = $(this).data("name"); 23 var $subnav = $("#" + name + "-cont"); 24 setTimeout(function() { 25 if (name) { 26 $subnav.css('height', 0); 27 } 28 }, 100); 29 }); 30 31 //é¡¶é¨äºçº§å¯¼èª 32 $('.m-nav .m-subnav .list').hover(function(){ 33 var index=$(this).data('index'), 34 products=$('.m-subnav .product>a'); 35 products.hide(); 36 products.eq(index).show(); 37 },function(){ 38 39 }); 40 41});
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.