开发者

Fancybox iFrame modal : How can I avoid its resizing when I reduce the size of the browser window?

开发者 https://www.devze.com 2023-03-05 07:15 出处:网络
I have created a modal based on an iframe, using Fancybox. It\'s for a login box. But whenever I reduce the size of the browser window, the fancybox reduces itself as well and I cannot control it. I h

I have created a modal based on an iframe, using Fancybox. It's for a login box. But whenever I reduce the size of the browser window, the fancybox reduces itself as well and I cannot control it. I have set the size of width and height of thi开发者_如何学运维s fancybox, but it keeps resizing when I Reduce the size of the browser window. How can I stop that behavior ? Thanks.


Set autoscale & autoDimensions to false

http://fancybox.net/api

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号