1jQuery(document).ready(function() { 2 3 //build mobilenavi 4 jQuery("<select id='mobile-select' />").appendTo("#mainmenu"); 5 6 jQuery("<option />", { 7 "selected": "selected", 8 "value" : "", 9 "text" : "Select menu" 10 }).appendTo("#mainmenu select"); 11 12 //Menu items 13 jQuery("#mobilenavi li a").each(function() { 14 var el = jQuery(this); 15 jQuery("<option />", { 16 "value" : el.attr("href"), 17 "text" : el.text() 18 }).appendTo("#mainmenu select"); 19 }); 20 21 //Link 22 jQuery("#mainmenu select").change(function() { 23 window.location = jQuery(this).find("option:selected").val(); 24 }); 25 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.