1jQuery(document).ready(function($) { 2 // 3 // hide top menu on load, the whole <div> by id="block-menu-menu-quick-links" 4 // locate the top menu 5 var top_ql_menu_div = document.getElementById("block-menu-menu-quick-links"); 6 var main_div = document.getElementById("main"); 7 8 var top_ql_menu_div_display; 9 10 if(top_ql_menu_div != null) { 11 top_ql_menu_div_display = top_ql_menu_div.style.display; 12 top_ql_menu_div.style.display="none"; 13 top_ql_menu_div.style.visibility="hidden"; 14 15 } 16 17 //quick linksbutton + search background image 18// var top_header_menu_div = document.getElementById("block-block-4"); 19// if(top_header_menu_div != null) { 20// top_header_menu_div.style.backgroundImage="url('/site-images/black_copy.png')"; 21//// top_header_menu_div.style.height = "45px"; 22// } 23 24 //navigation menu background, moved to subtheme's navigation.css 25// var navigation_menu_div = document.getElementById("navigation"); 26// if(navigation_menu_div != null) { 27// navigation_menu_div.style.backgroundImage="url('/site-images/40-nav_bg.png')"; 28// navigation_menu_div.style.backgroundRepeat="no-repeat"; 29// } 30 31/* $("a").click(function() { 32 if($(this).text() === "Quick Links") 33 { 34 var a = document.getElementByName("Quick Links"); 35 alert($(this).text()); 36 alert($a.text()) 37 alert($(this).isContentEditable()); 38 alert($(this).title()); 39 $(this).parentNode().previousSibling().slideToggle(100); 40 }; 41 42 43 }); 44 */ 45 $("img").click(function() { 46// $(this).next().slideToggle(100); 47 var id = $(this)[0].id; 48 if(id === "ql id") { 49// alert(ttl); 50 if(top_ql_menu_div.style.visibility != "visible") 51 { 52 top_ql_menu_div.style.visibility = "visible"; 53 top_ql_menu_div.style.display = top_ql_menu_div_display; 54 document.body.style.backgroundPosition="center top"; 55 main_div.style.margin_top = "-5px"; 56 57 58 59 } 60 else 61 { 62 top_ql_menu_div.style.visibility="hidden"; 63 top_ql_menu_div.style.display="none"; 64 document.body.style.backgroundPosition="center -76px"; 65 main_div.style.margin_top = "-22px"; 66 67 68 } 69 70 } 71 else 72 { 73 if($(this).text() === "Separator") {} 74 } 75 76 77 }); 78 79}); 80
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.