I have problem with fancybox. I want to write a function that will run when the fancybox opened. How and when to call the function?
Example:
func
'callbackOnShow': myFunc
lower case b as the options are case sensitive, and no brackets on myFunc, as you want to pass the function as an option, not call it.