1var desktopnavjQuery = jQuery.noConflict(); 2desktopnavjQuery(document).on('ready', function(e) { 3 4desktopnavjQuery( '#textured-cssmenu li:has(ul)' ).doubleTapToGo(); 5 6 function showChildren(hoverElement) { 7 if (desktopnavjQuery(window).width() > 992 ){ 8 if (hoverElement.children.length > 1) { 9 var ulChild = hoverElement.children[1]; 10 ulChild.style.setProperty ("display", "block", "important"); 11 } 12 } 13 } 14 15 function hideChildren(hoverElement) { 16 if (desktopnavjQuery(window).width() > 992 ){ 17 if (hoverElement.children.length > 1) { 18 var ulChild = hoverElement.children[1]; 19 ulChild.style.setProperty ("display", "none", "important"); 20 } 21 } 22 } 23 24 25 desktopnavjQuery('ul.desktop-nav-ul li.desktop-nav-parent').hover( 26 function(){ 27 showChildren(this); 28 }, 29 function(){ 30 hideChildren(this); 31 } 32 ); 33 34 desktopnavjQuery('ul.desktop-nav-children li.desktop-nav-children-level1-li').hover( 35 function(){ 36 showChildren(this); 37 }, 38 function(){ 39 hideChildren(this); 40 } 41 ); 42 43 desktopnavjQuery('ul.desktop-nav-children-level2 li.desktop-nav-children-level2-li').hover( 44 function(){ 45 showChildren(this); 46 }, 47 function(){ 48 hideChildren(this); 49 } 50 ); 51 52 desktopnavjQuery('ul.desktop-nav-children-level3 li.desktop-nav-children-level3-li').hover( 53 function(){ 54 showChildren(this); 55 }, 56 function(){ 57 hideChildren(this); 58 } 59 ); 60 61 62 63}); 64
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.