I'm trying to use the createPopup command to get around eBay's prohibition of the use of window.open in its seller html displays. I want to use it to display supersized versions of my pictures. Here's my code for the function that is supposed to execute the popup:
function ShowPopup()
{
var pop = window.createPopup();
pop.document.body.outerHTML = "<body nclick=\"clickPopup
();\" > ... etc. (the html for the body of the popup)
pop.show(660,winheight,25,150);
return false;
}
It refuses to execute the pop.document.body.outerHTML or the pop.show commands, giving me an "Access denied" error message, both in FrontPage 2003 and in IE 6.
I have all popup blocking software turned off.
Any idea how to overcome this problem? Thanks for any help
you can provide.
function ShowPopup()
{
var pop = window.createPopup();
pop.document.body.outerHTML = "<body nclick=\"clickPopup
();\" > ... etc. (the html for the body of the popup)
pop.show(660,winheight,25,150);
return false;
}
It refuses to execute the pop.document.body.outerHTML or the pop.show commands, giving me an "Access denied" error message, both in FrontPage 2003 and in IE 6.
I have all popup blocking software turned off.
Any idea how to overcome this problem? Thanks for any help
you can provide.