Good evening,
I have an issue with inserting an iframe or object in a popup created like that:
//Version 1
function fShowPop()
{
var oPopup = window.createPopup();
oPopup.document.body.innerHTML = '<iframe id="ifrmPop" src="<myLink>"></iframe>';
oPopup.show(15, 150,200, 200, document.body);
}
//Version 2
function fShowPop()
{
var oPopup = window.createPopup();
oPopup.document.body.innerHTML = '<object data="<myLink>" type="text/html"></object>';
oPopup.show(15, 150,200, 200, document.body);
}
So the result is a blank square... And the page source is not affected.
<html><body></body></html>
If I use document.write the source is affected but it stay blank.
Thanks beforehand!