diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..80e5303 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Vladimir Savin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 8f76588..f6b9a07 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -jQuery.Loader +jquery.simpleLoader =============== Small jQuery plugin for do animated gif loaders with opacity overflow over html elements. @@ -7,11 +7,11 @@ Small jQuery plugin for do animated gif loaders with opacity overflow over html ## Setup -Put `jquery.loader.min.js` into your js folder. +Put `jquery.simpleLoader.min.js` into your js folder. Include script tag after jquery: -`` +`` Include css from `loader.css' inside your css file or just put @@ -21,7 +21,7 @@ Include css from `loader.css' inside your css file or just put ## Usage -Default you can use `$('.foo_div').Loader('show')` or `$('.foo_div').Loader('hide')` methods for show/hide loader over selected element. +Default you can use `$('.foo_div').Loader('show')` or `$('.foo_div').Loader('hide')` methods for show/hide loader over selected element. Also you can overwrite default css for loader elements. Example: diff --git a/index.html b/index.html index fe69102..1bf1b73 100644 --- a/index.html +++ b/index.html @@ -3,13 +3,13 @@ - Jquery.Loader module - example page + jQuery Loader module - example page - +
diff --git a/js/jquery.loader.js b/js/jquery.simpleLoader.js similarity index 100% rename from js/jquery.loader.js rename to js/jquery.simpleLoader.js diff --git a/js/jquery.loader.min.js b/js/jquery.simpleLoader.min.js similarity index 100% rename from js/jquery.loader.min.js rename to js/jquery.simpleLoader.min.js diff --git a/simpleLoader.jquery.json b/simpleLoader.jquery.json new file mode 100644 index 0000000..fdfe71c --- /dev/null +++ b/simpleLoader.jquery.json @@ -0,0 +1,35 @@ +{ + "name": "simpleLoader", + "title": "jQuery Simple Loader", + "description": "Small plugin for create animated loader over target element.", + "version": "0.9.1", + "homepage": "http://zerc.github.io/jquery-loader/", + "demo": "http://zerc.github.io/jquery-loader/", + "author": { + "name": "Savin Vladimir", + "email": "zero13cool@yandex.ru" + }, + "repository": { + "type": "git", + "url": "https://github.com/zerc/jquery-loader.git" + }, + "bugs": "https://github.com/zerc/jquery-loader/issues", + "docs": "https://github.com/zerc/jquery-loader", + "download": "https://github.com/zerc/jquery-loader/archive/master.zip", + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/zerc/jquery-loader/blob/master/LICENSE" + } + ], + "dependencies": { + "jquery": ">=1.6.4" + }, + "keywords": [ + "jquery", + "ajax", + "gif", + "loader", + "overflow" + ] +}