1var like_img = '//y.taofen8.com/imgextra/i3/2296013456/TB2NVxzgXXXXXXSXpXXXXXXXXXX_!!2296013456.png'; 2var unlike_img = '//y.taofen8.com/imgextra/i4/2296013456/TB2apFzgXXXXXXYXpXXXXXXXXXX_!!2296013456.png'; 3$(function(){ 4 $(".tf8-like-button").live('click',function(event){ 5 if(isLogin) { 6 if($(this).is(".like-on")){ 7 likeEvent(false, $(this)); 8 $(this).css("color","#acacac").removeClass("like-on").children("img").attr("src",unlike_img); 9 }else{ 10 likeEvent(true, $(this)); 11 $(this).css("color","#f53e7b").addClass("like-on").children("img").attr("src",like_img); 12 likeMoveRight(event); 13 } 14 }else{ 15 getCurrentPageName('mobileLoginPage'); 16 } 17 }); 18}); 19 20function likeEvent(like, target) { 21 var type = like ? 'like' : 'dislike'; 22 var itemId = $(target).attr("itemid"); 23 $.get("/doLike?type=" + type + "&itemId=" + itemId); 24} 25 26//ç§»å¨ 27function likeMoveRight(e) { 28 var flyer = $('<i class="tf8Flyer"> </i>');//æç©ä½å¯¹è±¡ 29 $("body").append(flyer); 30 e = e || window.event; 31 var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft, 32 scrollY = document.documentElement.scrollTop || document.body.scrollTop, 33 divLeft = e.pageX || e.clientX + scrollX, 34 divTop = e.pageY || e.clientY + scrollY; 35 $(".tf8Flyer").css({//èµ·ç¹ 36 "left": divLeft + "px", 37 "top": divTop + "px" 38 }); 39 $(".tf8Flyer").animate({//ç»ç¹ 40 "left": $("#common-youxuanfu").offset().left, 41 "top": $("#common-youxuanfu").offset().top 42 },600,function() { 43 $(this).fadeTo(0, 0.1).remove(); 44 }); 45} 46 47 48
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.