Popup introduction

To open the menu as a popup, include the "popup" extension .css file and add "popup" to the extensions option.

   <script src="path/to/jquery.js" type="text/javascript"></script>
   <script src="path/to/jquery.mmenu.js" type="text/javascript"></script>
   <link href="path/to/jquery.mmenu.css" type="text/css" rel="stylesheet" />
   <link href="path/to/jquery.mmenu.popup.css" type="text/css" rel="stylesheet" />
   <script type="text/javascript">
      $(document).ready(function() {
            extensions: ["popup"]


Give it a go, change the options below and see how it affects the menu in the example on the right.

  • Open the menu as a popup.
  • Works great with:
  • Dim out the page to black.
  • Automatically measure the menu height.
<script type="text/javascript">
   jQuery(document).ready(function( $ ) {


SCSS variables for the "popup" extension

Variable Default value Datatype Description
$mm_popupShadow 0 2px 10px rgba(#000,0.3) CSS value The box-shadow of the menu.
Works great with:
Incompattible with:
  • The effects extension (when animating the menu);
  • The iconbar extension.

Next extension: