Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function($) {
- $.fn.opacityCheck = function(key) {
- if (key == ':visible') {
- if (this.css('opacity') == 1) {
- return true;
- }
- return false;
- }
- else if (key == ':invisible') {
- if (this.css('opacity') == 0) {
- return true;
- }
- return false;
- }
- };
- })(jQuery);
Add Comment
Please, Sign In to add comment