jQuery-menu-aim icon indicating copy to clipboard operation
jQuery-menu-aim copied to clipboard

"Below" problems right to left

Open alfaex opened this issue 10 years ago • 6 comments

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.

alfaex avatar Nov 25 '14 18:11 alfaex

Hi!

  1. Can you please explain more? What do you mean by right to left?
  2. Did you try rowSelector: "div > .submenu-title" ?

banesto avatar Mar 02 '15 12:03 banesto

  1. 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.
  2. rowSelector is level 0 and .submenu-title is level 2, the ">" only will work if .submenu-title is level 1

alfaex avatar Mar 02 '15 13:03 alfaex

  1. Oh, so it's problem with submenuDirection: left then?
  2. ok, but why can't you specify submenu-holder-0, meaning the very level 0 by setting simply rowSelector: div ?

banesto avatar Mar 02 '15 14:03 banesto

i'm also having problems with it deactivating when the menu is bottom and to the left.

slambdin1 avatar Jan 26 '16 18:01 slambdin1

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.

2017-05-05 11 09 52

lulalala avatar May 05 '17 03:05 lulalala

@lulalala -- I know this is a year old...but did you ever solve this issue for a menu that's below?

kevindeleon avatar Oct 09 '18 17:10 kevindeleon