1 autoCNModal(); 2 3 //FUNCTION TO GET and open PDF FROM DATATAG 4 function autoCNModal() { 5 var trigger = $("body").find('[data-target="#cnModal"]'); 6 trigger.click(function () { 7 var theModal = $(this).data("target"), 8 videoSRC = $(this).attr("data-theVideo"), 9 videoDate = $(this).attr("data-theDate"), 10 videoHead = $(this).attr("data-theHead"), 11 cndesc = $(this).attr("data-desc"); 12 13 14 arr1 = jQuery.grep(myArr, function(a) { 15 return (a.dataid === cndesc); 16 }); 17 $(theModal + ' img').attr('src', videoSRC); 18 $(theModal + ' img').attr('alt', videoHead); 19 $(theModal + ' h2').html(videoHead); 20 $(theModal + ' p.text-muted').html(videoDate); 21 $('#cncontent').html(arr1[0].itemdesc); 22 23 24 $(theModal + ' rl').click(function () { 25 26 $(theModal + ' img').attr('src', ""); 27 28 $(theModal + ' img').attr('alt',""); 29 $(theModal + ' span').html(""); 30 $('#cncontent').html(""); 31 }); 32 $("#closeplay").click(function () { 33 34 $(theModal + ' img').attr('src', ""); 35 $(theModal + ' img').attr('alt',""); 36 $(theModal + ' span').html(""); 37 38 $('#cncontent').html(""); 39 }); 40 41 }); 42 }
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.