hugobossv8
10-04-2004, 06:31 PM
Hello,
I need to resize an iframe that loads a cross domain url. I know that due to browser security, this is not possible with the script from this link:
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
My question...is it possible to create a cross domain policy file, so the webpage that holds the iframe has permission to probe the height of the cross domain web page being loaded in the iframe?
So in other words:
domain1.com contains an iframe with content from domain2.com.
domain2.com would store a policy file that grants access to domain1.com.
This way, domain1.com is able to probe domain2.com for the correct height.
I need to resize an iframe that loads a cross domain url. I know that due to browser security, this is not possible with the script from this link:
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
My question...is it possible to create a cross domain policy file, so the webpage that holds the iframe has permission to probe the height of the cross domain web page being loaded in the iframe?
So in other words:
domain1.com contains an iframe with content from domain2.com.
domain2.com would store a policy file that grants access to domain1.com.
This way, domain1.com is able to probe domain2.com for the correct height.