1/** 2 * Set the sub menu height on all nav items to be at least as tall as the 3 * current item sub menu. This prevents an undesirable overlap of shorter sub 4 * menus on top of a taller sub menu for the current page. 5 */ 6 7/* 8;(function() { 9 $(function() { 10 var $nav = $('#menuCont'); 11 12 // Since we can't easily watch for exactly when SuperFish plugin attaches 13 // to the navigation menu system and makes its adjustments, we'll use 14 // mouseenter on the main nav element to trigger our adjustment to sub 15 // menus. 16 $nav.on('mouseenter', function() { 17 // Measure the bottom margin on the SuperFish nav menu. 18 // This is the offset of the main content below the menu. 19 var minHeight = $nav.css('margin-bottom'); 20 var transitionTime = "2s"; 21 22 // Apply the offset value to the all of the sub menus so they all extend 23 // to the same min height as the current nav item sub menu. Without this 24 // shorter sub menus can overlap a taller sub menu for the current page. 25 $nav.find('.sub-menu').css({ 26 'min-height': minHeight 27 }); 28 }); 29 }); 30})(); 31*/
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.