Skip to content

Commit 2a89159

Browse files
committed
Update README.md
1 parent fb418e6 commit 2a89159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The plugin is built on jQuery 2.1.0 but could potentially work with older and ne
1313
##How to use it?
1414
1- Download the sliiide js file (or the minified version) from the github repo, include the js file before the body end tag and make sure jQuery is included before it
1515

16-
2- you’ll need a div (a nav menu or whatever you have in mind) and set its visibility to hidden. You also need a settings object.
16+
2- you’ll need a div (a nav menu or whatever you have in mind) and set its visibility to hidden. You also need a settings object. PLEASE MAKE SURE THIS DIV IS A DIRECT CHILD OF THE BODY ELEMENT.
1717
```
1818
var settings = {
1919
toggle: "#sliiider-toggle", // the selector for the menu toggle, whatever clickable element you want to activate or deactivate the menu. A click listener will be added to this element.

0 commit comments

Comments
 (0)