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 class of box, the
> > boxes can be hidden by the div id, so when all are hidden, i also want
> > to hide their parent div - left
> > the code below hides the parent div as soon as one box is hidden, but
> > i don't want to do this.
> > Any ideas on how I would hide the parent div - left - only after all
> > the divs with the class of box are hidden?
> > Thanks, Daithi.
>
> >   if ( $('.box').is(':hidden') ) {
> >         $('#left').hide();
>
> > }- Hide quoted text -
>
> > - Show quoted text -

Reply via email to