从父页面onload关闭iframe内的FancyBox [英] Close FancyBox that is inside an iframe from the parent page onload

查看:55
本文介绍了从父页面onload关闭iframe内的FancyBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这是可能的,可以做到的,或者至少以前是那样的.

I know this is possible and can be done, or at least used to be like that.

现在我找不到任何地方的代码.

Now I can't find the code anywhere.

我想在父页面上关闭准备好文档的iframe中的花式框.

I want to close the fancybox within the iframe on document ready from the parent page.

如何执行此操作?感谢您的帮助!

How to do this? Any help is appreciated!

推荐答案

经过仔细的检查并研究了从这里到整个Google的各个地方,由于浏览器允许,由此引发的安全性问题似乎根本不可能实现.这样的事情.

After careful examination and researching everywhere from here to all over Google, seems like this is not possible at all due to security issues rising from it if the browsers did allow such a thing.

这篇关于从父页面onload关闭iframe内的FancyBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆