PDA

View Full Version : Iframe SSI script external content problem



mallorychan
06-07-2005, 11:27 AM
Hi,

I'm having a problem with the SSI script.
Basically i'm running two sites and want to show the same content in an iframe on both.
The site on which the server containing the actual page being shown (ie indexA.htm with an Iframe showing blog.htm) works fine but when i externally link the same page using the same script on the other site (ie indexB.htm with an Iframe showing http://www.mysite/blog.htm) the script fails.
Any ideas?

ddadmin
06-07-2005, 08:46 PM
.

This is explained on the script page. Unfortunately the problem is due to iframe's inherit security limitations that prevent any DHTML script from accessing the contents of an iframe that's offsite. This in turn prevents the script from working and resizing the iframe in this case. So in other words, your iframe content cannot be offsite unfortunately.