jump to navigation

NOTE: The spam filter is being unusually aggressive. If you comment does not immediately appear, it has simply been placed in moderation and I will approve it as quickly as possible. Thank you for your patience.

"Murphy was an optimist!"

Frustrating to Tears November 2, 2005 4:37 pm

Posted by djuggler in : Daily Life
, trackback

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; ?>"
    name="viewportname"
    width="<?php echo $_SESSION['userwidth']-2; ?>"
    height="<?php echo $_SESSION['userheight']-201; /* 131 */ ?>"
    align="top"
    marginwidth="0"
    marginheight="0"
    scrolling="auto">
    <h2>Content requires iframe compatible browser</h2>
</iframe>

For presentation purposes it sits in this structure:

<html>
...
   <body>
      <div>
      </div>
      <div>
         ...iframe here...
      </div>
      <div>
      </div>
   </body>
</html>

Anyone see anything glaringly wrong?

Comments after advertisement

Comments»

no comments yet - be the first?


trackback