1// fixed-stop-names-column.js 2// Requires JQuery 3 4// Is there a way to do this without JQuery? 5 6// console.log('start test'); // test 7 8jQuery(document).ready( function() { 9 10 doFixedTimetables(); 11 // console.log('end test'); // test 12 13 }); 14 15 function doFixedTimetables() { 16 17 let $ = jQuery; 18 19 jQuery('.table-horizontal').each(function() { 20 let $tableClass = jQuery(this); 21 // Clone the first column, and absolutely position over table. 22 let $fixedColumn = $tableClass.clone().insertBefore($tableClass).addClass('fixed-column'); 23 $fixedColumn.find('th:not(:first-child),td:not(:first-child)').remove(); 24 }); 25 // console.log('inside test'); // test 26 }
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.