fancybox打开内联内容,但不打开iframe
fancybox open inline content but not iframe
运行良好
function openContent (id) {
$.fancybox('<h1>Lorem lipsum</h1>');
}
但是当我尝试打开iframe时,什么也没发生
function openContent (id) {
$.fancybox.open({href:'http://www.google.com'});
}
firebug或chrome控制台中没有错误消息。我正在本地主机上尝试。
知道吗?
X-Frame-Options:SAMEORIGIN
标题设置在www.google.com中,如果您的网站不在google.com中则无法在iframe中打开www.google.com。
相关文章:
- Fancybox iFrame not showing up
- FancyBox退出IFRAME回调
- FancyBox将DIV的内容显示为iFrame类型
- Fancybox-无法在iframe中打开类似facebook的框
- FancyBox iframe在第三页访问后打开
- 如何将附加内容放入fancybox iframe
- Fancybox - 将图像和 iframe 组合在一个图库中
- Youtube IFrame Internet Explorer上的Fancybox错误
- 关闭包含YouTube电影的Fancybox-iframe时出现IE JS错误
- PDF 未显示在 IE9、10 和 11 的 fancybox 2 iframe 中
- 在fancybox iframe中打开形式
- 在没有手动打开的情况下,从Iframe调用父级中的Fancybox
- Fancybox from iframe to parent
- about the iframe of fancybox?
- fancybox iframe内容未通过jquery函数显示
- Fancybox (jQuery) - 将信息从父级传递到 iframe,并将 iframe 传回父级
- Fancybox 2 iframe在IE中无法正常工作
- 无法关闭Fancybox iFrame
- fancybox-为iframe添加类以进行造型
- 点击传单弹出菜单中的链接时,打开Fancybox Iframe