1$(function() { 2 var time; 3 //var winHeight = top.window.document.body.clientHeight || $(window.parent).height(); 4 $('.client-2').css({ 5 'marginTop': -($('.client-2').height() / 2) 6 }); 7 $('#client-2 li').bind({ 8 'mouseenter': function() { 9 var scope=this; 10 time = setTimeout(function() { 11 var divDom = $(scope).children('div'); 12 var maxWidth = divDom.width(); 13 $(scope).stop().animate({ 14 left: 77-maxWidth 15 }, 'normal', function() { 16 var pic = $(scope).find('.my-kefu-weixin-pic'); 17 if (pic.length > 0) { 18 pic.show(); 19 } 20 }); 21 }, 100) 22 }, 23 'mouseleave': function() { 24 var pic = $(this).find('.my-kefu-weixin-pic'); 25 var divDom = $(this).children('div'); 26 var maxWidth = divDom.width(); 27 if (pic.length > 0) { 28 pic.hide(); 29 } 30 clearTimeout(time); 31 var divDom = $(this).children('div'); 32 $(this).stop().animate({ 33 left: 0 34 }, "normal", function() {}); 35 } 36 }); 37 //è¿åé¡¶é¨ 38 $(window).scroll(function() { 39 var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop; 40 var eltop = $("#client-2").find(".my-kefu-ftop"); 41 if (scrollTop > 0) { 42 eltop.show(); 43 } else { 44 eltop.hide(); 45 } 46 }); 47 $("#client-2").find(".my-kefu-ftop").click(function() { 48 var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop; 49 if (scrollTop > 0) { 50 $("html,body").animate({ 51 scrollTop: 0 52 }, "slow"); 53 } 54 }); 55 56 $(".toTop").click(function() { 57 var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop; 58 if (scrollTop > 0) { 59 $("html,body").animate({ 60 scrollTop: 0 61 }, "slow"); 62 } 63 }); 64 65});
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.