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.
I tried to use the supposition plugin because I have some very large submenues. But I get a vertical offset of the submenue (see screenshot). I used the space [blue] style.
I know the plugin is beta, but it would be very useful. So any possibility to get this fixed?
Thanks for your help.
grossmann-mcs
Comment | File | Size | Author |
---|---|---|---|
#7 | Snímek obrazovky 2016-01-06 v 14.34.27.PNG | 34.56 KB | Honza Pobořil |
superfish supposition vertical offset.jpg | 68.74 KB | grossmann |
Comments
Comment #1
mehrpadin CreditAttribution: mehrpadin commentedServus,
I see, it's that the child menu - like all the other child menus - has
top: 0;
, I guessbottom: 0;
can somehow help us here, but need to test it; will add it to my to-do list so it'll be diffidently fixed in the next version, vielen dank :)Comment #2
grossmann CreditAttribution: grossmann commentedHello,
thanks for your hint here. I tried around and found a solution - see comments (sorry I tagged this as php code which it isn't, it's javascript, but it gives a nicer syntax highlighting).
As you see I defined
bottom
not withmenuParentHeight
but instead I get the paddingBottom value and substract it frombottom
to align it with the parent.Maybe this is a help for your solution. I didn't test it with other setting of superfish so this may not work as a general solution.
I hope this helps.
Bitte schön ;-)
grossmann-mcs
Comment #3
mehrpadin CreditAttribution: mehrpadin commentedOh forgot this issue! fixed some time ago (development release with the master branch of the library)
Comment #5
mibfire CreditAttribution: mibfire commented$u.css('top', 'auto'); wont be removed after mouseout, so the submenu will be visible, instead of hidden with top: -99999em;!!!
Comment #6
mibfire CreditAttribution: mibfire commentedin superfish.js
This
should be
Comment #7
Honza Pobořil CreditAttribution: Honza Pobořil as a volunteer commentedHow is it going?
Issue is also at your demo page.
Comment #8
Honza Pobořil CreditAttribution: Honza Pobořil as a volunteer commentedUpdated to module dev and latest library for D7, still broken.
Comment #9
LOBsTerr CreditAttribution: LOBsTerr at European Commission and European Union Institutions, Agencies and Bodies commented