Categories > TinyButStrong general >

iframe page bug, if iframe before TBS

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: RJK
Date: 2006-01-03
Time: 20:35

iframe page bug, if iframe before TBS

I am creating a complex web report, from an offline model I am supposed to replicate.

On the page, why would placement of the iframe matter ?
Maybe there are iframe details, I don't know about.
Is is just an IE feature, or W3C standard supported by most browsers.

Desired Layout:
Iframe section should be on the top part of the page (scroll if large.)
MainPage has table on lower part of screen with 16 TBS fields.

When requesting page, the bottom table w TBS fields, does not render in the browser, but using "View Source", the table and all the TBS replaced fields are there !

As a matter of fact, if I change the position of the iframe and put it on the bottom, both the TBS table and iframe show wonderfully.

I have replicated this problem in IE and Firefox.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More Background:  I've combined 2 reports into one page
MainPage - TBS
IframePage - PHP/XSLT

~~~~ excerpt from my template page  ~~~~~~~~~~~~~
<iframe src="Tcard.php?o=[var.id]" height="300" width="610" title="MoveIndex" scrolling="auto"/>
<br>

<form action="TODO" method="post" name="form1">
    <table  width="600">
      <tr>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Where  Tcard.php  creates a DOM XML and transforms using XSLT
Obviously, it also uses TBS replacement in its argument.
For sake of example, I've also tried hard-coding the arg, but result was no different.

While this should be easy for anyone to replicate,
I would be glad to email the pages to anyone interested in resolving or fixing this issue.
By: Skrol29
Date: 2006-01-03
Time: 20:52

Re: iframe page bug, if iframe before TBS

Hello RJK,

It's seems to be an Html problem rather tan a TBS problem. But you can sent your pages to me, I'll have a look at them.
By: RJK
Date: 2006-01-04
Time: 23:18

Re: iframe page bug, if iframe before TBS

Indeed, it was my mistake in HTML, not TBS.
I tried to use the shortcut close on the iframe, instead of </iframe>.
IE did not interpret this well and put the close tag just before </body> causing the whole page to be messed up.  Situation resolved.