简体   繁体   English

Fancybox iframe-仅显示内部内容?

[英]Fancybox Iframe - Show only the inner content?

When I use fancybox to load an external url, It is showing inside another div with border and background as white. 当我使用fancybox加载外部URL时,它在另一个div内显示,边框和背景为白色。 I want to display only the content, which is in the URL. 我只想显示URL中的内容。 No need to show the outer box, including drop shadow and close button. 无需显示外部框,包括投影和关闭按钮。 How can I make it like this ? 我怎么能这样呢? Any help will be greatly appreciated 任何帮助将不胜感激

For removing drop shadows you can look this link . 要删除阴影,可以查看此链接

and for hiding close button, fancybox has option itself, look for showCloseButton in fancybox api ,of course you can use display:none for .fancybox-close to get the result. 对于隐藏关闭按钮,fancybox本身具有选项,请在fancybox api中查找showCloseButton,当然您可以对.fancybox-close使用display:none来获取结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM