1// JavaScript Document 2jQuery(document).ready(function(){ 3 //--------------------------------------- 4 // CHECK INSERT CONTENT 5 //--------------------------------------- 6 function check_page_insert_code() { 7 8 //$(".InsertCode").html("<center><img src='/images/loading1.gif' width='100' border='0' alt='Loading' /></center>"); 9 //var objDivs = $('body').find(".InsertCode"); 10 var codeid; 11 var codefile; 12 var retdata = []; 13 //var nextDiv; 14 15 $(".InsertCode").each(function( index, element ){ 16 codeid = $(element).attr("id"); 17 codefile = codeid.toLowerCase(); 18 retdata[index] = ""; 19 20 $.ajax({ 21 url : "/include/code/"+codefile+".php", 22 success : function (data) { 23 $(element).html(data); 24 } 25 }); 26 27 /*$(this).html("TEST code "+codefile); 28 $.get("/include/code/"+codefile+".php", { codeid: codeid }, function(retdata[index]) { 29 //alert ("OK"); 30 $("#"+codeid).html(retdata[index]); 31 }).fail(function() { 32 $("#"+codeid).html("error"); 33 }); 34 */ 35 //$(this).html("Found this one"); 36 }); 37 38 39 } 40 check_page_insert_code(); 41});
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.