1//å享çjs 2$('.articles-share-btn').click(function(event) { 3 event.stopPropagation(); 4 if ($('.articles-share-fix').css("left") == "-50px") { 5 $('.articles-share-fix').animate({ left: "0px" }); 6 $('.articles-share-btn .fa-caret-left').css('display', 'block'); 7 $('.articles-share-btn .fa-caret-right').hide(); 8 } else { 9 $('.articles-share-fix').animate({ left: "-50px" }); 10 $('.articles-share-btn .fa-caret-right').show(); 11 $('.articles-share-btn .fa-caret-left').hide(); 12 } 13}); 14 15$('.articles-share-fix .articles-share-link').click(function(event) { 16 event.stopPropagation(); 17 $('.articles-share-fix').animate({ left: "-50px" }); 18 $('.articles-share-btn .fa-caret-right').show(); 19 $('.articles-share-btn .fa-caret-left').hide(); 20}); 21 22$(document).click(function(event) { 23 $('.articles-share-fix').animate({ left: "-50px" }); 24 $('.articles-share-btn .fa-caret-right').show(); 25 $('.articles-share-btn .fa-caret-left').hide(); 26}); 27 28/* æ´æ°åäº«æ¬¡æ¸ */ 29$('.updateClickNum').click(function() { 30 var id = document.getElementById("id").value; 31 var table_name = document.getElementById("table").value; 32 var browser = document.getElementById("browser").value; 33 34 if($(this).attr("id") == 'fb_click_num_1' || $(this).attr("id") == 'fb_click_num_2'){ 35 var field_name = 'fb_click_num'; 36 }else if($(this).attr("id") == 'line_click_num_1' || $(this).attr("id") == 'line_click_num_2'){ 37 var field_name = 'line_click_num'; 38 } 39 /*if(browser == 'line'){ 40 if(field_name == 'line_click_num'){ 41 var w = window.open('http://line.naver.jp/R/msg/text/?'.concat(location.href)); 42 window.location.reload(); 43 }else if(field_name == 'fb_click_num'){ 44 var w = window.open('http://www.facebook.com/share.php?u='.concat(location.href)); 45 window.location.reload(); 46 } 47 }*/ 48 $.ajax({
49 type: "POST", 50 url: "/ajax_website/update_click_num", 51 'data' : { 52 'id' : id, 53 'table_name' : table_name, 54 'field_name' : field_name, 55 }, 56 dataType:'json', 57 success: function(info) { 58 59 /*if(field_name == 'fb_click_num'){ 60 if(browser == 'line'){ 61 location.href = 'http://www.facebook.com/share.php?u='.concat(encodeURIComponent(location.href)); 62 } 63 }else if(field_name == 'line_click_num'){ 64 if(browser == 'line'){ 65 location.href = 'http://line.naver.jp/R/msg/text/?'.concat(encodeURIComponent(location.href)); 66 } 67 }*/ 68 window.location.reload(); 69 } 70 }); 71});
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.