On 11/23/06, Paul Bakaus <[EMAIL PROTECTED]> wrote:

sounds cool to me!
does "visible" mean display none or also visibility: hidden for you btw?


Here are the :hidden and :visible selectors:

visible: "a.type!='hidden'&&jQuery.css
(a,'display')!='none'&&jQuery.css(a,'visibility')!='hidden'"

So something is visible if it is not a <input type="hidden"> (or anything
else that has a type property != 'hidden') *and* has a CSS display property
!= 'none', *and* has a CSS visibility property != 'hidden'

hidden: "a.type=='hidden'||jQuery.css
(a,'display')=='none'||jQuery.css(a,'visibility')=='hidden'"

So something is hidden if it is a <input type="hidden"> (or anything else
that has a type property == 'hidden') *or* has a CSS display property ==
'none', *or* has a CSS visibility property == 'hidden'

I would hope that, for consistency's sake, Yehuda's new selectors would
follow these same guidelines.

--------------------------------------------
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to