Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jQuery onClose bound to fancybox ...

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
This is not working for me

Code:
$.fancybox( ''+response, { onClose: function() { jAlert('good bye!') } } )

The fancybox comes us but nothing onClose - What am I doing wrong?

--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Well, changed my code to
Code:
$.fancybox( ''+response, { 
'afterClose': function() { jAlert('good bye!'); } 
})
and it works ...


--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top