[jQuery] Re: if all classes are hidden?

2008-05-21 Thread thekman
Thanks Hamish, works perfectly... On May 22, 1:46 am, Hamish Campbell <[EMAIL PROTECTED]> wrote: > if ( $('.box:visible').length == 0 ) { > $('#left').hide(); > > On May 22, 12:13 pm, thekman <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I have a bunch of divs on my page that all have a

[jQuery] Re: if all classes are hidden?

2008-05-21 Thread Hamish Campbell
if ( $('.box:visible').length == 0 ) { $('#left').hide(); On May 22, 12:13 pm, thekman <[EMAIL PROTECTED]> wrote: > Hi all, > I have a bunch of divs on my page that all have a class of box, the > boxes can be hidden by the div id, so when all are hidden, i also want > to hide their pare