1var cacheContent=""; 2$(function(){ 3 try{ 4 initContent(); 5 }catch(e){ 6 if(cacheContent !="" && null !=cacheContent){ 7 var array=cacheContent.split("__"); 8 $("#messageContent").html(array[1]); 9 $("#messageTitle").attr("title",array[0]); 10 } 11 } 12}); 13 14 15function initContent(){ 16 $.ajax({ 17 url:'http://219.131.223.108:8181/dock/webDock/getJsonp', 18 type: "post", 19 async: false, 20 dataType: "jsonp", 21 jsonp: "callbackparam", //æå¡ç«¯ç¨äºæ¥æ¶callbackè°ç¨çfunctionåçåæ° 22 jsonpCallback: "success_jsonpCallback", //callbackçfunctionåç§°,æå¡ç«¯ä¼æåç§°ådataä¸èµ·ä¼ é忥 23 success: function(json) { 24 cacheContent=json; 25 var array=json.split("__"); 26 $("#messageContent").html(array[1]); 27 var c=""; 28 var arrays=array[0].split("<br>"); 29 for(var i in arrays){ 30 c+=arrays[i].replace("<br>","")+"\n"; 31 } 32 $("#messageTitle").attr("title",c); 33 34 }, 35 error: function(XmlHttpRequest){ 36 if(cacheContent !="" && null !=cacheContent){ 37 var array=cacheContent.split("__"); 38 $("#messageContent").html(array[1]); 39 $("#messageTitle").attr("title",array[0]); 40 } 41 } 42 }); 43} 44var title_value = ''; 45 function title_show(td) { 46 var div=document.getElementById("title_show"); 47 title_value = td.title; 48 49 if(""==title_value ||null==title_value){ 50 return; 51 } 52 div.style.left = (td.offsetLeft)+"px"; //设置title_showå¨é¡µé¢ä¸çä½ç½®ã 53 var words_per_line = 45; //æ¯è¡åæ° 54 //var title = split_str(td.title,words_per_line); //ææ¯è¡25ä¸ªåæ¾ç¤ºæ é¢å 容ã 55 div.innerHTML = td.title; 56 div.style.display = ''; 57 td.title = ''; //廿åætitleæ¾ç¤ºã 58 } 59 60 function title_back(td) { 61 var div=document.getElementById("title_show"); 62 td.title = title_value; 63 div.style.display = "none"; 64 }
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.