File: public/assets/js/sb-admin.js

Recommend this page to a friend!
  Classes of ikhsan  >  Slim Starter  >  public/assets/js/sb-admin.js  >  Download  
File: public/assets/js/sb-admin.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Slim Starter
Build MVC Web applications based on Slim framework
Author: By
Last change:
Date: 6 years ago
Size: 511 bytes
 

Contents

Class file image Download
$(function() {
    $('#side-menu').metisMenu();
});

//Loads the correct sidebar on window load,
//collapses the sidebar on window resize.
$(function() {
    $(window).bind("load resize", function() {
        if ($(this).width() < 768) {
            $('div.sidebar-collapse').addClass('collapse');
        } else {
            $('div.sidebar-collapse').removeClass('collapse');
        }

        $('#page-wrapper').css('min-height', $(this).height() - $('.navbar').outerHeight());
    });
});

For more information send a message to info at phpclasses dot org.