Fire the plugin

After you've included the needed files and setup the HTML for your menu, all you need to do, is fire the plugin onDocumentReady.

<script type="text/javascript">
   $(document).ready(function() {
      $("#my-menu").mmenu();
   });
</script>

Options

The jQuery.mmenu-plugin provides a set of options for customizing your menu. The default option values can be overridden by passing new values to the method.

<script type="text/javascript">
   $(document).ready(function() {
      $("#my-menu").mmenu({
         slidingSubmenus: false
      });
   });
</script>

For a complete overview of all options, check out the options and add-ons pages.

Next up:
Open and close the menu