Jquery - fancybox and callback

前端 未结 7 1667
借酒劲吻你
借酒劲吻你 2020-12-31 17:36

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         


        
7条回答
  •  太阳男子
    2020-12-31 18:00

    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.

提交回复
热议问题