search for: adcontainer

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

Did you mean: acontainer
2006 Jun 29
3
dynamic generation of iframes and writing to them
...ld be an iframe with lots of stuff happening or it could be a URL that further calls some other ad. So, this is what I did - - Send a request to the 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.conten...