Closed (fixed)
Project:
SimpleMenu
Version:
5.x-5.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2009 at 22:17 UTC
Updated:
24 Mar 2009 at 21:50 UTC
I have version 5.x-5.0 of simple menu installed. I recently upgraded from Drupal 5.9 to 5.16, and the hover menus do not apper now when I mouse over the parent in simplemenu. I've tried clearing the browser cache, disabling and re-enabling the module, etc. There is no JS error generated--the menu children are simply not displayed. Any suggestions as to what might be wrong?
Comments
Comment #1
xjmI should note that this problem occurs both in IE7 and FF3, and that the full contents of the menu seem to be in the simplemenu js variable in the page source as (presumably) they should. It also occurs in both styles of simplemenu (the original and the black+blue).
Comment #2
xjmWhen I disable inline CSS using FF's web developer toolbar, the child items are visible briefly until I mouse over them; then they disappear and do not reappear on mouseover. This is with the same theme that I was using in 5.9 when it functioned normally.
Comment #3
xjmI used FF's developer toolbar to look at the JS-generated source, and discovered that something is appending "display:none" to simplemenu's child UL tags on the 5.16 copy of my site.
JS-generated source on the 5.9 site:
On the 5.16 site:
If I enable Garland instead of my theme, it seems to work fine on the 5.16 site... but, reiterating, the two sites are using the exact same theme, down to the character, so I can't figure out why that inline "display:none" is getting stuck in the JS for the simplemenu bar. I'm at a loss.
Comment #4
xjmIn simplemenu.js:
Ah-ha! The
display: nonewas tied to a specific version of jquery. My jquery update module was not reinstalled properly following the 5.16 upgrade. Reinstalling and enabling that module resolved my issue. Might want to recommend jquery update be used with this module in general.