Access is denied when using window.open() in IE6 sp1

  • Thread starter Thread starter tao lin
  • Start date Start date
T

tao lin

Hi,

I am using XP sp1 and IE6 sp1 with all the security patch.

I wrote a page have the the link that open a popup window to show another
page, my code is like this:

<A
onclick="window.open('http://marketingguide.com','','width=640,height=480,sc
rollbars=yes,resizable=yes'); return false;"
href="http://marketingguide.com" target=_blank gtlink="gtpuzzle"
questionid="604">Jigsaw Puzzle</A>

When I click the link, IE get the follow error 'Access is denied'.

It works fine in mozilla 1.6 and opera 7.5. And it works fine in my another
machine IE6 too.

Could anyone tell me what's wrong with my html code? And how to fix it
please?

Cheers,
Tao
 
tao lin said:
Hi,

I am using XP sp1 and IE6 sp1 with all the security patch.

I wrote a page have the the link that open a popup window to show another
page, my code is like this:

<A
onclick="window.open('http://marketingguide.com','','width=640,height=480,sc
rollbars=yes,resizable=yes'); return false;"
href="http://marketingguide.com" target=_blank gtlink="gtpuzzle"
questionid="604">Jigsaw Puzzle</A>

When I click the link, IE get the follow error 'Access is denied'.

It works fine in mozilla 1.6 and opera 7.5. And it works fine in my
another
machine IE6 too.

Could anyone tell me what's wrong with my html code? And how to fix it
please?

Could it be the options for IE that are wrong? There are scripting related
settings in tools>internet options Advanced and also Security tabs that I
think might affect this. Perhaps a simple way would be to compare with the
settings in the other machine?

Charlie
 
Back
Top