G
Gaspar
I need a solution to a problem that I couldn't resolve in the past two days!
SCENARIO:
Static "Page A" has an "iframe X" that is set to DesignMode = "on" to allow
interactive editing.
PROBLEM :
If PageA.document.domain is set to a value different than the default value
(suppose my host is www.mydomain.com and document.domain = 'mydomain.com') I
can't access Page B (access denied).
To solve this problem I load a temporary page in iframe X that sets
document.domain = 'mydomain.com'. Then, I can access iframe X contents UNTIL
I set DesignMode = on. Then, the iframe is inaccesible (access denied).
Somehow, enabling designMode, is unsetting document.domain to allow
cross-frame interaction.
Thanks for you help!
Gaspar
PS: I'm using IE6
SCENARIO:
Static "Page A" has an "iframe X" that is set to DesignMode = "on" to allow
interactive editing.
PROBLEM :
If PageA.document.domain is set to a value different than the default value
(suppose my host is www.mydomain.com and document.domain = 'mydomain.com') I
can't access Page B (access denied).
To solve this problem I load a temporary page in iframe X that sets
document.domain = 'mydomain.com'. Then, I can access iframe X contents UNTIL
I set DesignMode = on. Then, the iframe is inaccesible (access denied).
Somehow, enabling designMode, is unsetting document.domain to allow
cross-frame interaction.
Thanks for you help!
Gaspar
PS: I'm using IE6