> I see what you're saying - however, I still kind of think that the
> class should be fully initiated upon the first call regardless whether
> there are any lightbox links or not

I  do  agree  with  you  (see  how  easy it is to get along once we're
collaborating on runnable code?). I put up another Shell revision that
contains a workaround.

    http://mooshell.net/6cFmm/9/

Essentially,  since the constructor returns a Lightbox no matter what,
we look a little deeper for the most basic evidence of actual links in
the  Lightbox,  the  Lightbox.container  property. If we don't see the
container,  we  scrap  the  initial  box.  Just  run safeModLightbox()
whenever you want to create/append to the box.

-- S.

Reply via email to