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
As your title says "Jquery - fancybox and callback", You can a complete list of callback options for the fancybox 2 plugin found under the tab callbacks.
http://fancyapps.com/fancybox/#docs
If your using the old fancybox, maybe upgrading to fancybox2 as the new plugin has better features, with more control.