[英]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.