How to trigger an event when a floatbox closes?

Page: 1

Author Post
Member
Registered: May 2012
Posts: 1
Is there a way to trigger an event in the parent window when a floatbox popup is closed?

Something akin to:

$( '#fbBox' ).click(function(){
do something
});
Administrator
Registered: Aug 2008
Posts: 3382
Hi,
Please check out the "Event Callbacks" section of the API Reference. There you will find a description and usage guidelines for the following available events: beforeBoxStart, afterBoxStart, beforeItemStart, afterItemStart, beforeItemEnd, afterItemEnd, beforeBoxEnd, afterBoxEnd, afterResize, beforePrint, afterPrint, afterFBLoaded.

Cheers...

Page: 1