1jQuery(document).ready(function () { 2 (function (jQuery) { 3 4 5 jQuery("#chuReseauBack").click(function () { 6 var currentStart = parseInt(jQuery(this).attr('data-current')); 7 if (currentStart >= 5) { 8 var start = parseInt(currentStart - 5); 9 jQuery(document).getNextArticles(start); 10 11 var pageValue = parseInt(jQuery(this).attr('data-pagevalue')); 12 jQuery(document).pagination(parseInt(pageValue - 1)); 13 } 14 }); 15 16 jQuery("#chuReseauForward").click(function () { 17 var currentStart = parseInt(jQuery(this).attr('data-current')); 18 if (currentStart <= 15) { 19 var start = parseInt(currentStart + 5); 20 jQuery(document).getNextArticles(start); 21 22 var pageValue = parseInt(jQuery(this).attr('data-pagevalue')); 23 jQuery(document).pagination(parseInt(pageValue + 1)); 24 } 25 }); 26 27 jQuery.fn.getNextArticles = function (start) { 28 var host = window.location.hostname; 29 var token = Math.floor(Math.random() * 999999) + 1; 30 jQuery.post('/spip/squelettes/izeos_cds/inclure/reseauChuParser.php', { 31 chureseau: token, 32 start: start 33 }, function (data) { 34 jQuery("#chuReseauArticles") 35 .empty() 36 .append(data); 37 jQuery('#chuReseauBack').attr('data-current', start); 38 jQuery('#chuReseauForward').attr('data-current', start); 39 }); 40 } 41 42 jQuery.fn.pagination = function (pageValue) { 43 jQuery("#chuReseauLeftPage") 44 .empty() 45 .append(pageValue); 46 jQuery('#chuReseauBack').attr('data-pagevalue', pageValue); 47 jQuery('#chuReseauForward').attr('data-pagevalue', pageValue); 48 } 49 50 51 })(jQuery); 52 53});
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.