For my Drupal 6.1 install, dhtml menus shutter open and closed when parent link is clicked. see example at http://www.petraandcolin.com/dhtmlmenubug in left sidebar under the Nice Menu menu.
For my Drupal 6.1 install, dhtml menus shutter open and closed when parent link is clicked. see example at http://www.petraandcolin.com/dhtmlmenubug in left sidebar under the Nice Menu menu.
Comments
Comment #1
brmassa commentedColin,
ahahhaa nice effect. i dont use Windows (so not IE too) and thats why i didnt tested on them. The JavaScript implementation on IE is so bizarre that its not a coincidence that they dont pass, even closely, by ACID 3 tests!
But i promise I will check it soon.
regards,
massa
Comment #2
selfsimilar commentedI love the effect of dhtml menus, and am an avid Firefox user myself. But I can't discriminate against browsers, and don't feel like I can use these menus until they work on IE, too. :-(
Thanks for any help!
Comment #3
brmassa commentedColin,
i dont know what is going on. i just installed a plain D6 and DM 1.05 and it is working fine on IE7. However, your site is still buggy on IE7.
well, please test it using 1.05 and report it back please?
regards,
massa
Comment #4
selfsimilar commentedUninstalled and reinstalled DM 6.x-1.05 and now it doesn't shutter, but it doesn't open at all. I think there might be something fundamentally wrong with my Drupal 6.2 install, even though there are no errors reported. It's not worth it right now to go through the whole process of re-creating the site from scratch, but I may do that soon to get rid of issue.
Comment #5
enoany commentedI have a similar issue. Once I went from 6.1 to 6.2, the DHTML menus do not work at all in IE7.
Comment #6
priestjim commentedIt appears that the problem exists after a page reload in IE. In D6.2/DHTML 1.05, when I first open the site in IE, the menus work correctly as they should. After through I click on a link and the linked page loads, the menus stop working (the actually open and close very quickly).
Comment #7
brmassa commentedGuys,
please test the patch on http://drupal.org/node/244218 and see if it fix this issue too. if so, i will commit the patch and release the new version right away!
regards,
massa
Comment #8
priestjim commentedUnfortunately, it didn't change something on my installation. The bug is still there...
Comment #9
selfsimilar commentedDitto. The bug is still there. I did a bit of debugging, mostly tracing with alerts. I don't know if this is helpful at all, but I confirmed that all cookie were updated properly and what looked like normal flow occurred for the "switchMenu" function. The only thing is that right after the last line of Drupal.dhtmlMenu.switchMenu() ("Drupal.dhtmlMenu.cookieSet();"), switchMenu gets immediately called again. My gut instinct is that there's something wonky in the way IE treats the ".click" definition.
~colin
Comment #10
tcee commentedsame with collapsiblock module, D6.2 . Blocks enabled with collapsiblock will not collapse and uncollapse without errors on IE 7. it especially makes a login block useless.
Comment #11
priestjim commentedAny progress made?
Comment #12
tuwebo commentedHi,
This module is really good and helpfull, and I´m not trying to push anybody (rush will kill us), but anybody have done more progress with this issue?
Thanks in advance!
Comment #13
cburschkaCould you test this again with the 6.x-2.x version please? In theory, the code is supposed to be the same, but with weird browsers you can't be sure, and anyway the bug is going to get fixed in the development branch first.
I don't have any version of IE available for testing, so unfortunately I'll have to rely on user reports.
Comment #14
tuwebo commentedHi,
I have done little test with 6.x-2.x-dev version, it works on Firefox but not in IE7.
What I did:
- Update from 6.x-1.05 to 6.x-2.x-dev
- Open IE7
- Navigate throught the menu items that have childrens (only), at this point it works good, the menu opens and closes with no problem at all, even when I navegate untill the last children.
- Click on one item with NO childrens (it doesn´t matter if it has parents or not, I have tried both), at this point the page is showed up but the menu doesn´t work anymore, no collapses and no expands.
Hope this helps a little bit.
Thanks for your work.
Comment #15
Anonymous (not verified) commentedDo a view source and see if jquery.js is being included twice. In my case, it was. Another module that used jquery.js also included jquery.js which resulted in 2 calls. Once I disabled the other module everything returned to normal.
Comment #16
tuwebo commentedHi darthclue,
What do you mean by "Do a view source"?
I guess it means look the source code for text like this:
These are the only entries (for javascript) that I have in my source code, but I think there is only one entry for jquery.js (I don´t know what JQuery.extend means).
Is this module working for you without problems in IE7?
Thanks for your help!
Comment #17
cburschkaThat is the other module's fault. dhtml_menu does not include jquery.js; the core of Drupal does by default. No other module should include it again.
Comment #18
mkelly1495 commentedThis issue occurs when the dhtml and nice menu modules are both installed. The nice_menus.module file has the following implementation for the nice_menus_init function:
function nice_menus_init() {
');// We only want to include the JS for IE and not browsers
// capable of doing everything in css. We have to put all the JS
// in drupal_set_html_head so they get called in the right order. ;-(
drupal_set_html_head('
// Add main CSS functionality.
drupal_add_css(drupal_get_path('module', 'nice_menus') .'/nice_menus.css');
// Add custom CSS layout if specified.
if ($custom = variable_get('nice_menus_custom_css', '')) {
drupal_add_css($custom);
}
// Fall back to default layout.
else {
drupal_add_css(drupal_get_path('module', 'nice_menus') .'/nice_menus_default.css');
}
}
The problem occurs with the inclusion of jquery.js and drupal.js (on lines 217 & 218). Delete the following lines from the code and the dhtml menus should work as expected:
Hope this helps,
Mike K.
Comment #19
cburschkaIn that case, it's a Nice Menus issue.
Comment #20
cburschkaComment #21
add1sun commentedduplicate #235562: jQuery gets reloaded by drupal_add_js
Comment #22
chandraprakash commentedHello,
Same problem is occurring in the website in which i am working. In website i have used css dropdown menu its work fine in all the pages but when i open any of the civicrm page in IE 6 then dropdown menu doesnot work for rest of page pages other than civicrm it works fine.Can anyone suggest me what should i do for that ?
Thanks for reply in advance.