开发者

can I hide fancybox on loading iframe

开发者 https://www.devze.com 2023-03-23 08:35 出处:网络
I am using fancybox with i开发者_开发问答frame to implement popup windows. I solved some of the problems with patches etc. there is only one problem left. I would like to hide fancy box on loading (bu

I am using fancybox with i开发者_开发问答frame to implement popup windows. I solved some of the problems with patches etc. there is only one problem left. I would like to hide fancy box on loading (but loading indicator will be visible) and show it after loading. currently what I have is a blank fancy box, and after loading it resizes to iframe content. This looks ugly. I just want to show fancybox after it loads the iframe.


set the iframe style="display:none" then onpageload set it display:block

0

精彩评论

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