标签:load document tee row ext geturl div iframe lte
function createIframe() { var i = document.createElement("iframe"); i.src = "/RSK/RskBookFilterManage.aspx?_method=filterContent4RiskBook&riskBookId=" + UTIL.getUrlParam("riskBookId") + "&k=" + Math.random() i.id = "RskBookContentCfg"; i.scrolling = "auto"; i.setAttribute(‘frameBorder‘, 0); i.style.cssText = ‘border: 0 none;‘; //i.frameborder ="0"; i.width ="795px"; i.height ="700px"; document.getElementById("iframe2").appendChild(i); var i2 = document.createElement("iframe"); i2.src = "/RSK/RskSumaryInfomationManage.aspx"; i2.id = "RskBookContentCfg"; i2.scrolling = "auto"; i2.setAttribute(‘frameBorder‘, 0); i2.style.cssText = ‘border: 0 none;‘; //i2.frameborder ="0"; i2.width ="795px"; i2.height ="700px"; document.getElementById("iframe3").appendChild(i2); }; //Check for browser support of event handling capability if (window.addEventListener) window.addEventListener("load", createIframe, false); else if (window.attachEvent) window.attachEvent("onload", createIframe); else window.onload = createIframe;
标签:load document tee row ext geturl div iframe lte
原文地址:https://www.cnblogs.com/kexb/p/10334114.html