1 2 (function ($, root, undefined) { 3 4 5 6 var BK_point_pad = 768, 7 BK_point_mob = 600; 8 9 10 11 12 13 function navarchive() { 14 var classfilter = $(this).find(':selected').attr('value'); 15 window.location.replace(classfilter); 16 } 17 18 19 20 $("select").change(navarchive); 21 22 23 function margetop(){ 24 25 var filtreH = $("#filtre-list").height(); 26 27 28 $('.page-template-page-prog-php .presentation').css({"padding-top" : $("#filtre-list").height() + "px"}); 29 $('#gauche, #droite ').css({ "top" : filtreH + "px" , "height" : "calc( 100% - " + filtreH + "px - 1.6em )" }); 30 $('.jspVerticalBar .jspArrowUp').css({ "top" : filtreH + "px" }); 31 32 filtreH = null; 33 34 } 35 36 37 function msieversion(){ 38 39 var ua = window.navigator.userAgent 40 var msie = ua.indexOf ( "MSIE " ) 41 42 if ( msie > 0 ) // If Internet Explorer, return version number 43 return parseInt (ua.substring (msie+5, ua.indexOf (".", msie ))) 44 else // If another browser, return 0 45 return 0 46 47 } 48 49 function scrollpanel(){ 50 51 52 53 if( $(window).width() > BK_point_pad ){ 54 55 $('.scroll-pane').each( 56 57 58 function () { 59 $(this).jScrollPane({ 60 showArrows: true, 61 arrowScrollOnHover: true, 62 animateScroll: true 63 }); 64 65 var api = $(this).data('jsp'); 66 var throttleTimeout; 67 $(window).bind( 68 'resize', 69 70 function () { 71 if (!throttleTimeout) { 72 throttleTimeout = setTimeout( 73 74 function () { 75 api.reinitialise(); 76 throttleTimeout = null; 77 }, 78 50); 79 } 80 81 }); 82 }); 83 } 84 margetop(); 85 86 } 87 88 89 versIE = msieversion(); 90 91 if( versIE > 8 || versIE == 0 ){ 92 93 var the_timer; 94 95 window.addEventListener('resize', 96 97 function(){ 98 99 clearTimeout(the_timer); 100 101 the_timer = setTimeout(function(){ 102 103 gestionImbNoScroll(); 104 105 if( $(window).width() <= BK_point_pad ){ 106 107 108 $('.scroll-pane').each( 109 110 function () { 111 $(this).jScrollPane(); 112 var api = $(this).data('jsp'); 113 api.destroy(); 114 }) 115 }else{ 116 scrollpanel(); 117 } 118 119 }, 75); 120 121 }); 122 123 124 125 } 126 127 128 function gestionImbNoScroll(){ 129 130 131 $('.no-scroll-pane article').each( function(){ 132 133 var $this = $(this), 134 urlbg = null; 135 img = $this.find('img'); 136 137 138 if($this.hasClass('unique') || $(window).width() > BK_point_pad ){ 139 140 141 $this.css({ 'background-image' : 'url(' + img.attr('src') + ')' }); 142 img.hide(); 143 144 145 }else if( $(window).width() < BK_point_pad ){ 146 147 urlbg = figure.attr('metadatapad'); 148 149 $this.css({ 'background-image' : 'none' }); 150 151 img.show(); 152 } 153 154 }); 155 156 157 158 } 159 160 161 $(window).load(function() { 162 163 scrollpanel(); 164 165 166 }); 167 168 169 $(document).ready(function() { 170 gestionImbNoScroll(); 171 margetop(); 172 173 }); 174 175 176 function openfiltre(){ 177 178 179 if( $("#content-filtre legend").hasClass("openform") ){ 180 $("#filtre-list form, #content-filtre legend").removeClass('openform'); 181 }else{ 182 $("#filtre-list form, #content-filtre legend").addClass('openform'); 183 } 184 185 margetop(); 186 } 187 188 $("#filtre-list legend").click(function(){ 189 openfiltre(); 190 }); 191 192 193 })(jQuery, this);
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.