Nice Menus FAQ
Last modified: June 12, 2009 - 17:41
These are some common questions and issues that come up.
- Can you add x fancy feature?
- Ack! It's totally broken!
- My menus get cut off (usually sidebar menus that pop sideways.)
- My menus are going behind x element (e.g. a content div or the page text, etc.) in IE.
- That didn't help, my menus are going behind my Flash.
- Fix for IE where child items appear behind it's parent's sibling
- Example: How floated sidebars in themes can support Nice Menus
- Trouble with IE7 and Nice Menus
------------
- Can you add x fancy feature?
Keep in mind that this module tries to be as JavaScript light as possible, using only the minimal JS needed to create equal CSS functionality for all browsers, so various wishlist features cannot be added that are not supported by only CSS. - Ack! It's totally broken!
The menus may not work perfectly with all themes. Try Nice Menus out with the default Garland or Bluemarine first to check if it works there (it should) before filing a bug report or trying to write a patch for other themes. - My menus get cut off (usually sidebar menus that pop sideways.)
This will happen in contributed or custom themes that useoverflow: hidden;to contain the sidebar contents. Nice Menus must be able to "overflow" over the content in order expand properly. Some themes will break if you remove or override this condition. You will need to play with the CSS and determine if Nice Menus can be used with your theme. There is an issue where this is discussed. These are some themes known to have this issue:
- Barlow
- Sky
- Zen starterkit (Primary link dropdown will go behind content div) - My menus are going behind x element (e.g. a content div or the page text, etc.) in IE.
IE has some problems with z-indexes in CSS. Sometimes the way to fix that is to addposition: relative;to a parent element but Nice Menus already does this itself so it shouldn't be a problem normally. You WILL have a problem sometimes though if other elements on your page useposition: relative;as well. Basically if you have this problem, you need to review your CSS for the elements where the problem is happening and check to see if the position is set. Try removing it to see if that clears the problem. There is an issue in the queue that discusses this.
Possible work-arounds to consider:
- Fix for IE where child items appear behind its parent's sibling
- Example: How floated sidebars in themes can support Nice Menus - That didn't help, my menus are going behind my Flash.
This is an issue with Flash and there is nothing I am aware of that Nice Menus can do to fix it. You can get the menus to appear over "still" Flash but as soon as it plays, it takes precedence. There is an issue in the queue that discusses this. - Trouble with IE7 and Nice Menus
Check the DOCTYPE you're using in your custom template if you're having trouble with Nice Menus in IE7. If IE7 thinks it needs to go into a backwards-compatible "quirks mode" for web pages written to an older HTML standard, a workaround script meant to detect IE6 might not notice. That seems to be the case with 6.x-1.3 where the child menu simply was not coming out at all in IE7 while it worked in Safari and Firefox.Here's the old DOCTYPE, often used out of habit:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Switching to this one solve the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">For reference:
http://www.quirksmode.org/css/quirksmode.html http://hsivonen.iki.fi/doctype/
