[Javascript] See if item is hidden...
jsWalter
jsWalter at torres.ws
Tue Jun 22 16:41:53 CDT 2004
> -----Original Message-----
> From: javascript-bounces at LaTech.edu
> [mailto:javascript-bounces at LaTech.edu] On Behalf Of Paul Novitski
> Sent: Tuesday, June 22, 2004 4:02 PM
> To: [JavaScript List]
> Subject: RE: [Javascript] See if item is hidden...
> As I understand it, testing the value of oObj.style.whatever
> will test for
> attributes applied with either HTML or JavaScript:
>
> <div style="whatever: itis;">
> or:
> oObj.style.whatever = "itis"
>
> but will not detect attributes applied with CSS:
>
> div {whatever: itis;}
>
> In order to do that, you'd need to parse the stylesheet tree,
> discover which CSS selectors applied to your object, follow all
> the rules of cascading, etc.
This is never easy! ;)
Thanks Paul.
Walter
More information about the Javascript
mailing list