pixelbeat pixelbeat - 2 months ago 4x
Javascript Question

How to change the jquery mmenu to open from the right?

I'm trying to create a custom behaviour to mmenu to open from the right side of the website.

There is any guide on how to change such thing? Here is what I got so far.


Anyway, I'll keep working on this, if I find a proper way, I'll post it here.


You can set the option position. Default it is left but if you set it to right your menu slides open from the right. Add direction:'right' so it opens to the left.

    dragOpen: true,

And no, there doesn't really seem to be documentation about this plugin. I have just downloaded the source code and had a look how it all works. That's how I found out.

Hope it helps.