Click here to Skip to main content
15,887,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi!

I can not figre out, how to slide menu navigation or modal dialog from laft and from botom.
Menu navigation is sliding from left, but my modal dialog, which I use as status bar do not slide from the buttom up as I want.

I am using mmenu libraries: http://mmenu.frebsite.nl/[^]

I can do this: http://mmenu.frebsite.nl/demo/xmpl-contacts.html[^]
But I can not do this: http://mmenu.frebsite.nl/demo/position-bottom.html[^]

My code for left menu:

XML
<nav id="my-menu">

<h3 class="">Graph actions</h3>
<ul>
<li onClick="rotateY()" data-autozoom="false"> </li> Rotate Y</li>
<li onClick="rotateX()" data-autozoom="false"> </li> Rotate Y</li>
<li onClick="rotateZ()" data-autozoom="false"> </li> Rotate Y</li>
</ul>
</nav>


Code for bootom menu:
XML
<nav id="statusBar">
    <ul>
        <li> Rotation</li>
        <li>Transformation</li>
        <li>Positin</li>
    </ul>
</nav>


jQuery function for navigation and left menu:

C#
$("#my-menu").mmenu({
  classes: "mm-light"

})
  $("#statusBar").mmenu({
  classes: "mm-light",
  offCanvas: {
      position  : "bottom",
      zposition : "front"
  }
  });
Posted
Updated 22-Jul-14 5:47am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900