How to check if element is visible in Zepto

By
Advertisement
  1. function isVis(ele) {
  2.     if(ele.css('display')!='hidden' && ele.css('visibility')!='hidden' && ele.height()>0) {
  3.         return(true);
  4.     } else {
  5.         return(false);
  6.     }
  7. }

0 comments:

Post a Comment

Online Casino