简体   繁体   中英

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. I want to display only the content, which is in the 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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