I have a list of different features that I would like to submit for possible development. I would also like to thank the developers of this module for making it what it is so far already.

1. Even though this project is focused on using as little javascript as possible to make Nice Menus work, It would be a novel feature to give users the option add some JavaScript Animations by use of the ever so popular Jquery Script and the HoverIntent Plugin (see http://users.tpg.com.au/j_birch/plugins/superfish/ ). If this is done, options in the Nice Menus Configuration can be included to choose what sort of animations the menu would use, Delay, etc. Or if that is too hard just make the options available by coding in the animations and commenting then out to make them inactive with instructions to the user on how to make it work if they want it.

2. Even though there are instructions on how to make a graphic based Nice Menu, I have found that it only works vertically. I believe that it would be awesome if Nice Menus had the ability to be skinned completely with out disrupting the way it works. Here are a few examples of what I mean:
A: I want to make a horizontal Nice Menu that has a height of 42px and I can do this with out the sub menus getting messed up (e.g. overlapping the parent links)
B: I would like to be able to replace the links in the sub menus with linked pictures, instead of the text links. These pictures need to be able to load and show their images upon mouse states like Hover, Down, or even possibly visited, and not forgetting the normal state.
C: I would like to be able to (here is what I think might be difficult) see the menu when I print out the web page, you will see the menu image links on the print out. This means that Background Images are not going to be used and that the pictures are not going to be loaded by CSS. However it is noted that CSS image loading is an effective way to make your menu work. It just doesn't solve every problem.
D: I would like to be able to add image based Separators in between my Parent Links so that it gives an added level of "professional look" to the menu and website.

I know that all of these things cant be added over night and that it will take a lot of work to get some of these things accomplished. I don't know PHP and I have been scraping by so far but I need the menu to look right when I resize it, I need to get images to replace the links, and I need to get the menu to look, and work correctly, when I resize it.

Thanks for all of your hard work, I know that you are taking your free time to develop this, but what you are doing is a major benefit to the Drupal community.

Comments

Mavin773-1’s picture

Oh if this any of these features are back ported to drupal 5.7, then Major thanks are in order!

add1sun’s picture

Title: A list of different features that I would love to see in Nice Menus » Add an option for configurable JS
Version: 6.x-1.0 » 6.x-1.x-dev

I have gone back and forth on the idea of "configurable, optional" JS. Basically I have no desire to work on this myself any time soon, if ever. If someone wants to write patches up for it, I will consider them, but it has to be optional while still leaving the JS needed for IE in by default.

As for number 2, I can appreciate what you need to do but I don't think there is anything Nice Menus can generically do to help you any further than it does. Nice Menus provides the logic and structure but all of the theming is left to you in Drupal's theme layer. The CSS lets you style however you want and the theme functions let you override the HTML and even add your own custom menu. I'm not trying to pooh pooh your list but I honestly don't see what code changes can be made within Nice Menus to make any of that easier, i.e. what specifically do you need from the module that you cannot do with the theme layer?

Each feature request should be in its own issue to make keeping track of them and work in progress easier. I am willing to change this issue over to represent your JS feature request and if anyone wants to submit patches they are welcome to. If you can tease out what changes would help you accomplish the things in your list for number 2, please feel free to make separate issues for them.

add1sun’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Will go into the new version in HEAD, if anyone wants to work on this.

add1sun’s picture

I have added an enable/disable checkbox for JS in a patch for #235562: jQuery gets reloaded by drupal_add_js. This could be the first step to optional JS in nice menus for anyone interested in that feature, so please test/review that patch if so.

add1sun’s picture

Status: Active » Closed (duplicate)

This is older but the superfish issue is more direct and getting work so I'm marking this one a duplicate. #322962: Add configurable JS with Superfish