1//top fixed 2$(window).scroll(function () { 3 if ($(window).scrollTop() > 0) { 4 $('.fIxBox').parent().addClass('active') 5 } else { 6 $('.fIxBox').parent().removeClass('active') 7 } 8}) 9$('.fIxBox').parent().mouseenter(function () { 10 $(this).addClass('active') 11}).mouseleave(function () { 12 if ($(window).scrollTop() == 0) { 13 $(this).removeClass('active') 14 } 15}); 16 17//top nav 18$(function () { 19 var wind_w = $(window).width(); 20 $('.e_navigationF-24 .p_navItem1 .sj_warp').find('.p_level3Box').parents('.p_navItem1').addClass('pro_li'); 21 $('.e_navigationF-24 .pro_li .dropdown .left ul .p_navItem2').eq(0).addClass('cur'); 22 $('.e_navigationF-24 .pro_li .dropdown .center .sj_warp ul').eq(0).addClass('pro_cur'); 23 if (wind_w > 768) { 24 $('.e_navigationF-24 .pro_li .dropdown .left ul').on('mouseenter', 'li', function () { 25 $(this).addClass('cur').siblings().removeClass('cur'); 26 var index = $(this).index(); 27 $(this).closest('.dropdown').find('.sj_warp ul').eq(index).stop().fadeIn().siblings().hide(); 28 }) 29 } 30 31 $('.search_warp').click(function(){ 32 if($('.boxForm').hasClass('active')){ 33 $('.boxForm').removeClass('active'); 34 }else{ 35 $('.boxForm').addClass('active'); 36 } 37 }) 38 39 $('.closeFrom').click(function(){ 40 $('.boxForm').removeClass('active'); 41 }) 42});
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.