search for: iframeid

Displaying 1 result from an estimated 1 matches for "iframeid".

Did you mean: iframed
2006 Jun 29
3
dynamic generation of iframes and writing to them
...e server while the page is loading - Capture the response by overwriting default document.write() because otherwise it would open a new output stream. adContainer = ""; document.write = function(text){ adContainer += text; }; - Then dynamically create the iframe - function generateIframe(iframeId, sDocument) { var tFrame = document.getElementById(iframeId); var doc = tFrame.contentDocument; if (doc == undefined || doc == null) doc = tFrame.contentWindow.document; doc.open(); doc.write(sDocument); doc.close(); } setTimeout("generateIframe(''Left'', adContainer)",...