jQuery-menu-aim
jQuery-menu-aim copied to clipboard
"Below" problems right to left
Great plugin.
I managed to almost everything work the ways that i intended. The menu with " submenuDirection: 'below' " works fine if is left to right, but if is right to left simply it doesn't work.
Another minor thing is on " rowSelector: ".submenu-row-1" ". for wordpress reasons i have
ccc = $(".submenu-holder-0");
ccc.menuAim({
rowSelector: ".submenu-title",
. . .
<div class="submenu-holder-0">
<div class="submenu-row-1" data-id="1547">
<div class="submenu-title">CAM</div>
And because the div is inside another, doesn't work as expected.
Hi!
- Can you please explain more? What do you mean by right to left?
- Did you try
rowSelector: "div > .submenu-title"
?
- if my menu is on the top right side of the scren the sub-menu will open to the left, imagine mirroring the amazon menu.
- rowSelector is level 0 and .submenu-title is level 2, the ">" only will work if .submenu-title is level 1
- Oh, so it's problem with
submenuDirection: left
then? - ok, but why can't you specify
submenu-holder-0
, meaning the very level 0 by setting simplyrowSelector: div
?
i'm also having problems with it deactivating when the menu is bottom and to the left.
For me I have the following setup. If I travel from middle to bottom right, it works. If I travel from middle to bottom left, it does not work.
@lulalala -- I know this is a year old...but did you ever solve this issue for a menu that's below?