[英]Problem with colorbox reloading the iframe content on colorbox.resize
[英]Colorbox iFrame content not appearing in IE 8/9
我正在使用ColorBox在屏幕上调用一些信息模式,并根据客户的要求,最好的方法是通过iFrame(不是我的第一选择,而是任何选择)。 在Chrome,FF等环境中一切正常,但是iFrame内容在任何版本的IE中均不起作用。 出现模式包装器,但内部没有任何内容。 到目前为止,这是我所做的:
任何帮助,将不胜感激。 这加剧了。
一些代码:
$(function ()
{
$(".modal-large").colorbox({iframe:true, innerWidth:580, innerHeight:500});
})
HTML:
<div class="top-droptext"><a class="modal-large" href="modal/serviceproviderinfo.html">Update Password</a></div>
这是文档类型的问题。 您需要将其添加到颜色框调用者页面的开头:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.