How do you resize Fancybox at runtime?

后端 未结 18 1894
情深已故
情深已故 2020-11-30 03:22

Does anyone know how to resize the jQuery Fancybox during runtime?

When initializing the fancybox I can do this:

$(\"tag\").fancybox({ \'frameWidth\         


        
18条回答
  •  执念已碎
    2020-11-30 03:42

    I struggled with resizing fancybox too. Solution is $.fancybox.reposition();

    Works like a charm!

提交回复
热议问题