1function navigationArrow(path){ 2 3 $("#nav ul li ul").addClass("push"); // This is line 3 4 $("#nav ul li.drop").addClass("enhanced"); 5 $("#nav ul li.drop").removeClass("drop"); 6 $("#nav ul li.enhanced span").after(' <img src="' + path + '" />'); 7 $("#nav ul li.enhanced img").wrap('<a class="arrow rest"></a>'); 8 9 $("#nav ul li a.arrow").hover(function(){ 10 $(this).removeClass("rest").addClass("hover"); 11 }, function(){ 12 $(this).removeClass("hover").addClass("rest"); 13 }); 14 15 $("#nav ul li a.arrow").click(function(){ 16 if ($(this).hasClass("hover") == true) { 17 $("#nav ul li a.open").removeClass("open").addClass("rest"); 18 $("#nav ul li ul").hide(); 19 $(this).removeClass("hover").addClass("open"); 20 $(this).parent().find("ul").fadeIn(); 21 } else { 22 if ($(this).hasClass("open") == true) { 23 $(this).removeClass("open").addClass("hover"); 24 $(this).parent().find("ul").hide(); 25 } 26 } 27 }); 28 29 $(document).click(function(event){ 30 var target = $(event.target); 31 if (target.parents("#nav").length == 0) { 32 $("#nav ul li a.arrow").removeClass("open").addClass("rest"); 33 $("#nav ul li ul").hide(); 34 } 35 }); 36 37}
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.