Shadowbox.close() (I've never used it Myself, so YMMV)
On Wed, Dec 10, 2008 at 4:10 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > For my "success" callback (I guess that's what you call it...) > I've got a series of events after an $.ajax post. > > Here they are: > > $('#contentdiv').empty().fadeIn(1000).append(response.login); > $('#my_story').empty().fadeIn(2000).append(response.my_story); > $('#email').empty().fadeIn(2000).append(response.email_address); > $('#pass').empty().fadeIn(2000).append(response.password); > > These evens happen inside a shadowbox modal window. > > After the last one, I want to auto-close the shadowbox. > > The shadowbox command for doing that is .close() . > > What I can't figure out is how to reference shadowbox itself > like I do elements with an id or class, etc. > > Anyone got a pointer for this? > > Thanks, > > Rick > >