Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu on the right #4

Closed
carlosjeurissen opened this issue Mar 10, 2013 · 4 comments
Closed

Menu on the right #4

carlosjeurissen opened this issue Mar 10, 2013 · 4 comments

Comments

@carlosjeurissen
Copy link

Hi Developer,

I'm facing a problem with this jquery plugin. It is made for menus which are on the left, but my menu in black menu is on the right.
What things should I change to solve this problem?

Thanks in advance,

Carlos

@ShintaroNippon
Copy link

HI Guys, i'm facing the same problem, can someone help to apply this in RTL version...

Thanks in advance.
Carlos Vieira

@ShintaroNippon
Copy link

hi, after a research on this, i believe i found a solution...
In method called slope (slope of a line) in line 230
i have put this code (changes)

        var upperSlope = slope(loc, lowerRight ),
        lowerSlope = slope(loc, upperRight),
        prevUpperSlope = slope(prevLoc, lowerRight),
        prevLowerSlope = slope(prevLoc, upperRight );

The solution was change the variables upperRight and lowerRight in slope method call calculation.
I hope this could help. For me it works.

Thanks
Carlos Vieira

@kamens
Copy link
Owner

kamens commented Mar 26, 2013

Thanks all. This issue is on my radar, and although I don't have time to immediately solve it, I hope to make the code friendlier for all directions of menus in the future.

@kamens
Copy link
Owner

kamens commented Mar 26, 2013

Check out the "submenuDirection" option provided by 5e321a8

Choosing a value of "right" lets menu-aim support menus that open to the right. Lemme know how it goes.

@kamens kamens closed this as completed Mar 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants