-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/30/2012 10:54 AM, Guido Stevens wrote:
> While building an app that uses an iframe in rendering, the Pyramid
> debug toolbar shows up in the iframe (also rendered by Pyramid) but
> not in the outer containing page.
>
> Apparently the toolbar attaches to the first "</body>" it finds? Is
> there a way to change that in such a way, that the toolbar shows up in
> the outermost body (the actual page)?
Just a wild guess: make sure that you don't have a "self-closing" <iframe>::
<iframe srce="
http://example.com"/>
Instead::
<iframe srce="
http://example.com"></iframe>
Like <textarea>, the <iframe> tag is treated specially by browsers and
other HTML procesors. I just lost an hour or more last week chasing down
oddball behavior due to this quirk.
Tres.
- --
===================================================================
Tres Seaver
+1 540-429-0999 tse...@palladion.com
Palladion Software "Excellence by Design"
http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iEYEARECAAYFAk/Z7LcACgkQ+gerLs4ltQ4NqgCgkdL4m7BT9dPpMbUvLIA5dUks
0V0AoMRTTJf1X57Y3Ro7ZrkXqOfSgAAm
=qLVk
-----END PGP SIGNATURE-----