4 Unstar Star 12 Fork 2

XiaoSK / metisMenu-stateful

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

metisMenu-stateful


说明

metisMenu-stateful 是“有状态”的 metisMenu 。其综合了 onokumus/metisMenu v1.0.3 和 valgen/metisMenu 的特性,并修正了各自的一些 BUG 。此外,还增加了对当前所展开菜单的高亮显示支持。后续将根据原 repo 跟进新特性更新。

Usage

  1. Add a Style Class(Default:.nav-current) in Your CSS if You Want to Highlight the Current Menu

    .nav-current {
        font-weight: bold;
        color: #5cb85c;
    } /* Custom by yourself */
  2. Include Twitter Bootstrap StyleSheet

  3. Include metisMenu StyleSheet

    <link rel="stylesheet" href="metismenu.css">
  4. Include jQuery

    <script src="jquery.min.js"></script>
  5. Include Twitter Bootstrap Script

    <script src="bootstrap.min.js"></script>
  6. Include metisMenu plugin's code

    <script src="metismenu.js"></script>
  7. Call the plugin:

    $("#menu").metisMenu();

License

MIT License

Comments ( 0 )

Sign in for post a comment

About

Bootstrap菜单插件metisMenu的增强版,支持展开状态记忆和当前菜单高亮。 spread retract
JavaScript
MIT
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
JavaScript
1
https://gitee.com/xskonline/metisMenu-stateful.git
git@gitee.com:xskonline/metisMenu-stateful.git
xskonline
metisMenu-stateful
metisMenu-stateful
master

Search

132457 8cb2edc1 1899542 131848 70c8d3a4 1899542