Skip to content

Commit

Permalink
update readme for v2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
onokumus committed Mar 3, 2016
1 parent d39cd51 commit 7f86f0e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,31 @@ composer require onokumus/metismenu:dev-master
1. Include metisMenu StyleSheet

```html
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/metisMenu/2.4.0/metisMenu.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/metisMenu/2.4.1/metisMenu.min.css">
```
OR
```html
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.metismenu/2.4.0/metisMenu.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.metismenu/2.4.1/metisMenu.min.css">
```

2. Include jQuery

```html
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.1/jquery.min.js"></script>
```
OR
```html
<script src="//cdn.jsdelivr.net/jquery/2.2.0/jquery.min.js"></script>
<script src="//cdn.jsdelivr.net/jquery/2.2.1/jquery.min.js"></script>
```

3. Include metisMenu plugin's code

```html
<script src="//cdnjs.cloudflare.com/ajax/libs/metisMenu/2.4.0/metisMenu.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/metisMenu/2.4.1/metisMenu.min.js"></script>
```
OR
```html
<script src="//cdn.jsdelivr.net/jquery.metismenu/2.4.0/metisMenu.min.js"></script>
<script src="//cdn.jsdelivr.net/jquery.metismenu/2.4.1/metisMenu.min.js"></script>
```

4. Add class `metismenu` to unordered list
Expand Down Expand Up @@ -229,6 +229,7 @@ Contains a simple HTML file to demonstrate metisMenu plugin.
### Release History
|**DATE** |**VERSION** |**CHANGES**|
|--------------|--------------|-----------|
|2016-03-03 |v2.4.1 |Transition element passed to methods|
|2016-01-25 |v2.4.0 |Support AMD / Node / CommonJS|
|2016-01-08 |v2.3.0 |Adding aria-disabled=true to the link element prevents the dropdown from opening|
|2015-09-27 |v2.2.0 |Events supported & added preventDefault options|
Expand Down

0 comments on commit 7f86f0e

Please sign in to comment.