diff --git a/README.md b/README.md index 512b91c..bd01c17 100644 --- a/README.md +++ b/README.md @@ -15,19 +15,23 @@ and does so with as little HTML & CSS as possible. # Installation -Include [jQuery](http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js) and `jquery.modal.min.js` scripts: +You can install [jquery-modal](https://www.npmjs.com/package/jquery-modal) with npm: -```html - - -``` +`npm install jquery-modal` + +or with [Bower](http://bower.io/): -Include the `jquery.modal.css` default styles: +`bower install jquery-modal` + +or the good old fashioned way of including the scripts & styles manually: ```html + ``` +_(You'll obviously need to include jQuery as well)._ + **Using Rails?** Check out the [jquery-modal-rails plugin](https://github.com/dei79/jquery-modal-rails)! **jQuery Requirements:** As of version 0.3.0, jQuery 1.7 is required. If you're using an earlier version of jQuery you can use the [v.0.2.5 tag.](https://github.com/kylefox/jquery-modal/tags)