Hi all, I am the developer of a Postnuke block called Dynamenu which is an alternative to the default menu block and generates a variety of drop-down/fly-out/tree-style menus.
I am looking for help or advice to try to fix an annoying glitch pertaining to the horizontal submenu alignment which has plagued me since DM's inception.
The symptom of the problem is this:
In the horizontal drop-down style only, on a new page load, when the *very-first* Dynamenu item you hover over has submenus - the submenu initially appears all the way to the left on the screen (albiet on the correct vertical axis).
When the user subsequently hovers over any other DM main menu item, the submenus will right themselves and behave normally until the next page load. The effect can be seen quite regularly at this PN site with DM: http://www.cleanpowernow.org/
To clarify the conditions of the problem: the *very first* menu item you hover over has to have a submenus to see the problem. If you hover over the "home" link (which has no submenu), then another main menu item w/submenus, you will not see the problem.
Dynamenu's "magic" is provided mostly by an open-source library called "PHP Layers Menu" by Marco Pratesi (see: http://phplayersmenu.sourceforge.net/ ) I cannot get the same glitch when using his static page examples, so I can only assume it has something to do with its interaction with Postnuke or the theme (or the way its being placed/rendered therein).
Additional background:
- The "problem" seems to be more consistent in some themes than others
- Only affects the horizontal drop-down menu style
- The PHPLM library is somewhat "finicky" with respect to where the menu "footer" information is output (needs to appear *just before* the closing tag - otherwise, *other* alignment problems may manifest themselves in other browsers) The above example has correctly placed menu footer info.
- I have made no significant changes to the code, except in one of the JS libraries to check if an object exists before trying to alter it.
If there's any other use info I can provide, be sure to let me know. The DM download is available @ http://www.natewelch.com/postnuke/
Thanks in advance to anyone who can provide some insight as to what is causing (or how to fix) this lil' glitch!
--
Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods
Cape Cod Travel Info...
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
