Results 1 to 2 of 2

Thread: Iframe SSI script external content problem

  1. #1
    Join Date
    Jun 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe SSI script external content problem

    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?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •