1// Suckerfish menus 2(function ($) { 3 4Drupal.behaviors.sf_menu = { 5 attach: function (context, settings) { 6 if ($.browser.msie && parseInt(jQuery.browser.version) == 6) { 7 $('.sf-menu li').hover(function() { 8 $(this).addClass('iehover'); 9 }, function() { 10 $(this).removeClass('iehover'); 11 }); 12 } 13 14 // Delayed mouseout. 15 $('.sf-menu li').hover(function() { 16 // Stop the timer. 17 clearTimeout(this.sfTimer); 18 // Display child lists. 19 $('> ul', this).css({left: 'auto', display: 'block'}) 20 // Immediately hide nephew lists. 21 .parent().siblings('li').children('ul').css({left: '-999em', display: 'none'}); 22 }, function() { 23 // Start the timer. 24 var uls = $('> ul', this); 25 this.sfTimer = setTimeout(function() { 26 uls.css({left: '-999em', display: 'none'}); 27 }, 400); 28 }); 29 } 30}; 31 32})(jQuery); 33 34;
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.