Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Originally I posted this as an issue with Colorbox, but Im thinking now that it is a problem with DHTML Menu.
When setting "Static Navigation" in DHTML Menu Settings, to "None"... everything works fine initially. But after opening a Colorbox on a page, and closing it, the menu no longer expands and collapses. Refreshing the page fixes it. When "Static Navigation" is set to anything else it works as expected. I really would like it set to None however.
I'm using the latest dev releases of DHTML Menu, Colorbox and Jquery Update.
Any thoughts?
Comment | File | Size | Author |
---|---|---|---|
#6 | fix-trigger-duplication-1495496-6.patch | 1.99 KB | nagy.balint |
#2 | dhtml_menu.txt | 10.96 KB | rimen |
#1 | dhtml_menu.zip | 3.47 KB | rimen |
Comments
Comment #1
rimen CreditAttribution: rimen commentedThis is a patched dhrml_menu.js
Added .dhtml-processed to prevent re-attach listeners and double-click option fixed.
Comment #2
rimen CreditAttribution: rimen commented.txt
Comment #3
julien.reulos CreditAttribution: julien.reulos commentedNice! The conflict with Colorbox module was affecting whatever Static Navigation option you would apply to your dhtml menu.
With this js version, both modules are playing well together.
Comment #4
xl_cheese CreditAttribution: xl_cheese commentedI tried to use this to fix my issue, but it didn't make a difference.
https://drupal.org/node/2208577
Comment #5
Christopher James Francis Rodgers CreditAttribution: Christopher James Francis Rodgers commentedthis module is the only one I have installed on my D7 core
and so I understand that the various settings for it can drive you
crazy.
All I can say is that the options that I stick with are set out
as best I could do at https://drupal.org/node/2126031.
...the only options I use ...
... I know that the 'other' various options are
goofy... if not a waste of time ...
And believe me .. the key-board strokes I now make
are intended only to possibly help you, my friends...
Comment #6
nagy.balint CreditAttribution: nagy.balint commentedCreated a patch from the above.
Did not carry over the removal of the if block that checks for the margin-left class as that would be a change that breaks existing designs.
However with this patch now if using an ajax view or colorbox, seems to work fine.
Comment #7
acidaniel CreditAttribution: acidaniel commentedthe #6 works really well thanks
Comment #8
pacome CreditAttribution: pacome commentedThanks for patch #6 !
-p-
Comment #9
bensey CreditAttribution: bensey commentedPatch in #6 also works well for me.
Thanks!
Comment #10
vuilThe patch needs re-roll to work on the latest 7.x-1.x-dev branch.
Comment #11
vuilI unassigned the issue of @jessejesse.