0

I am using Fancybox for popups and have one that I need to resize (when it's open). I have found the following API method;

$.fancybox.update()

I'm a little unsure of how to implement this. Do I need to add this to my existing script thats controlling the popup behaviour:

$('#myPopUp').fancybox();

Or does this get added somewhere else (jquery.fancbox.js for example)?

Any help would be appreciated.

4

1 回答 1

1

只需在需要时调用它,就像任何普通方法一样。

于 2012-06-19T12:55:23.930 回答