first import
This commit is contained in:
24
sites/all/modules/nice_menus/nice_menus.js
Normal file
24
sites/all/modules/nice_menus/nice_menus.js
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
// This uses Superfish 1.4.8
|
||||
// (http://users.tpg.com.au/j_birch/plugins/superfish)
|
||||
|
||||
// Add Superfish to all Nice menus with some basic options.
|
||||
(function ($) {
|
||||
$(document).ready(function() {
|
||||
$('ul.nice-menu').superfish({
|
||||
// Apply a generic hover class.
|
||||
hoverClass: 'over',
|
||||
// Disable generation of arrow mark-up.
|
||||
autoArrows: false,
|
||||
// Disable drop shadows.
|
||||
dropShadows: false,
|
||||
// Mouse delay.
|
||||
delay: Drupal.settings.nice_menus_options.delay,
|
||||
// Animation speed.
|
||||
speed: Drupal.settings.nice_menus_options.speed
|
||||
// Add in Brandon Aaron’s bgIframe plugin for IE select issues.
|
||||
// http://plugins.jquery.com/node/46/release
|
||||
}).find('ul').bgIframe({opacity:false});
|
||||
$('ul.nice-menu ul').css('display', 'none');
|
||||
});
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user