Skip to content

Commit

Permalink
README updated and JQuery CHAINING Added to the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nenomaz committed May 19, 2015
1 parent 2d4c15f commit 2d4ffc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Easy & Simple jQuery plugin for overlay an existing element with css & [FontAwes
Getting Started
---------

Make sure you have FontAwesome
Include the script on your page

```html
Expand All @@ -29,4 +30,4 @@ That's all!
[1]: http://fontawesome.io/
[1]: http://fontawesome.io/
4 changes: 3 additions & 1 deletion jquery.easy-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@
});

$("#jqueryEasyOverlayDiv").fadeIn();

return this;
};
})(jQuery);

(function( $ ){
$.fn.overlayout = function() {
if( $("#jqueryEasyOverlayDiv").length ) $("#jqueryEasyOverlayDiv").fadeOut();

return this;
};
})(jQuery);

0 comments on commit 2d4ffc7

Please sign in to comment.