Alon
Alon

Reputation: 3906

fancybox2 - how to autosize the fancybox after it was loaded

I'm loading content into a fancybox2 and I need it to autosize dynamically after the content was loaded. How do I achieve this? Thanks, Alon

Upvotes: 0

Views: 107

Answers (1)

Janis
Janis

Reputation: 8769

Try executing $.fancybox.update(); after changing contents (make sure you are using the latest version).

Upvotes: 1

Related Questions