1function jq_post(url_link,qstr,divname,loadingname){ 2 $('#'+loadingname).show(); 3 $().ajaxStart(function(){ 4 $('#'+loadingname).show(); 5 }); 6 $.ajax( 7 { 8 url:url_link, 9 type:"post", 10 data:qstr, 11 cache:false, 12 dataType:"text", 13 success: function(mydata){ 14 //alert(mydata); 15 $("#"+divname).html(mydata); 16 $('#'+loadingname).hide(); 17 } 18 }); 19 $().ajaxComplete(function(){ 20 $('#'+loadingname).hide(); 21 }); 22} 23 24//noloading 25function jq_post_noloading(url_link,qstr,divname){ 26 $().ajaxStart(function(){ 27 //$('#'+loadingname).show(); 28 }); 29 $.ajax( 30 { 31 url:url_link, 32 type:"post", 33 data:qstr, 34 cache:false, 35 dataType:"text", 36 success: function(mydata){ 37 $("#"+divname).html(mydata); 38 //$('#'+loadingname).hide(); 39 } 40 }); 41 $().ajaxComplete(function(){ 42 //$('#'+loadingname).hide(); 43 }); 44} 45 46 47 48//noloading top 49 50function jq_post_block(url_link,qstr,divname,loading_name){ 51 width=$('#'+loading_name).css('width').replace("px",""); 52 height=$('#'+loading_name).css('height').replace("px",""); 53 $.blockUI({ 54 message:$('#'+loading_name), 55 css:{ cursor:'default', 56 width: width + 'px', 57 height:height+ 'px', 58 padding:'0px', 59 top:($(window).height()-height)/2 + 'px', 60 left:($(window).width()-width)/2 + 'px' 61 } 62 }); 63 64 $().ajaxStart(function(){ 65 width=$('#'+loading_name).css('width').replace("px",""); 66 height=$('#'+loading_name).css('height').replace("px",""); 67 $.blockUI({ 68 message:$('#'+loading_name), 69 css:{ cursor:'default', 70 width: width + 'px', 71 height:height+ 'px', 72 padding:'0px', 73 top:($(window).height()-height)/2 + 'px', 74 left:($(window).width()-width)/2 + 'px' 75 } 76 }); 77 }); 78 $.ajax( 79 { 80 url:url_link, 81 type:"post", 82 data:qstr, 83 cache:false, 84 dataType:"text", 85 success: function(mydata){ 86 $("#"+divname).html(mydata); 87 //$('#'+loadingname).hide(); 88 $.unblockUI(); 89 } 90 }); 91 $().ajaxComplete(function(){ 92 $.unblockUI(); 93 }); 94} 95 96//noloading top 97 98function jq_post_noloading_top(url_link,qstr,divname){ 99 $().ajaxStart(function(){ 100 //$('#'+loadingname).show(); 101 }); 102 $.ajax( 103 { 104 url:url_link, 105 type:"post", 106 data:qstr, 107 cache:false, 108 dataType:"text", 109 success: function(mydata){ 110 top.$("#"+divname).html(mydata); 111 //$('#'+loadingname).hide(); 112 } 113 }); 114 $().ajaxComplete(function(){ 115 //$('#'+loadingname).hide(); 116 }); 117} 118 119function jq_post_effect(url_link,qstr){ 120 var check_value = $.ajax({ 121 url: url_link, 122 data: qstr, 123 type:"post", 124 async: false, 125 success: function(mydata){ 126 //alert(mydata); 127 } 128 }).responseText; 129 return check_value; 130}
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.