daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Feb 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .fourty {
  2.  
  3.     filter:alpha(opacity=40);
  4. }
  5. .fifty {
  6.  
  7.     filter:alpha(opacity=50);
  8. }
  9. .sixty {
  10.  
  11.     filter:alpha(opacity=60);
  12. }
  13.    
  14. var $elements = $('.yourClass');
  15.    
  16. var $elements = $('*').filter(function() {
  17.     return $(this).css('filter') != 'auto';
  18. });
  19.    
  20. var $elements = $('*').filter(function() {
  21.     var $element = $(this);
  22.     return $element.css('filter') != 'auto' || $element.css('opacity') != 1;
  23. });
  24.    
  25. var foundels = [];
  26.  
  27. $(els).each(function(){
  28.     if($(this).css('filter') == 'alpha(opacity=60)')
  29.         foundels.push(this);
  30. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top