Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  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. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement