1 2// This uses Superfish 1.4.8 3// (http://users.tpg.com.au/j_birch/plugins/superfish) 4 5// Add Superfish to all Nice menus with some basic options. 6(function ($) { 7 $(document).ready(function() { 8 $('ul.nice-menu').superfish({ 9 // Apply a generic hover class. 10 hoverClass: 'over', 11 // Disable generation of arrow mark-up. 12 autoArrows: false, 13 // Disable drop shadows. 14 dropShadows: false, 15 // Mouse delay. 16 delay: Drupal.settings.nice_menus_options.delay, 17 // Animation speed. 18 speed: Drupal.settings.nice_menus_options.speed 19 // Add in Brandon Aaronâs bgIframe plugin for IE select issues. 20 // http://plugins.jquery.com/node/46/release 21 }).find('ul').bgIframe({opacity:false}); 22 $('ul.nice-menu ul').css('display', 'none'); 23 }); 24 25 /** 26 * The $.browser method has been removed as of jQuery 1.9. So create a workaround. http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed 27 */ 28 jQuery.browser = {}; 29 (function () { 30 jQuery.browser.msie = false; 31 jQuery.browser.version = 0; 32 if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { 33 jQuery.browser.msie = true; 34 jQuery.browser.version = RegExp.$1; 35 } 36 })(); 37 38})(jQuery);
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.