Posted on Leave a comment

Frustrating to Tears

Apparently <iframe><iframe></iframe></iframe> doesn’t work particularly when the iframes are named the same. Basically the source of the iframe was dynamically including itself.. Come on Homer! Say "Doh!"

I am trying to implement an IFRAME but with some content the iframe is showing the scrollbar full as if there is no content below the fold. The iframe is defined as:

<iframe src="<?php echo $contentfile; ?>"
    width="<?php echo $_SESSION['userwidth']-2; ?>"
    height="<?php echo $_SESSION['userheight']-201; /* 131 */ ?>"
    <h2>Content requires iframe compatible browser</h2>

For presentation purposes it sits in this structure:

         ...iframe here...

Anyone see anything glaringly wrong?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.