can I hide fancybox on loading iframe
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
精彩评论