1function gup( name ){ //gup = Get URL Parameters e.g. search query 2 url = window.location.href 3 name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); 4 var regexS = "[\\?&]"+name+"=([^&#]*)"; 5 var regex = new RegExp( regexS ); 6 var results = regex.exec( url ); 7 if( results == null ) 8 return ""; 9 else 10 return results[1]; 11} 12$(document).ready(function() { 13 //toggle open and close the navbar on small screens 14 // $("#nav-button span").click(function(e){ 15 // $(".toc-wrapper").toggleClass("open"); 16 // $("#nav-button").toggleClass("open"); 17 // }); 18 //customize "contact-us" link 19 $("a.contact-us").attr("href","mailto:"+"info"+"@"+"monroneylabels.com") 20 21 //Close button for flash alerts 22 // $("[data-dismiss]").click(function(e){ 23 // $(this).parent().remove(); 24 // }); 25 26 $("[data-show-if]").addClass("hide"); 27 if(gup("v") != ""){ 28 $("[data-hide-if]").remove(); 29 $("[data-show-if]").removeClass("hide"); 30 } 31 32});
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.