![]() (The attribute value doesn’t seem to matter.) Otherwise the iframes will downsize to wafer-thin oblivion. But you need to make sure the iframe content elements have data-iframe-width='x' attributes. This will not downsize after full-screen. sizeHeight is enabled, and can be seen to work. No resizing, recovers from full-screen.See how frames 3 & 4 are wider than the browser window? The iframe content backgrounds are silver so you can see them. You’ll see frames 3 and 4 come back very wide, as wide as your screen.(Either double-click each video, or start and stop it to make the full-screen widget appear.) Full-screen each video, then escape it.(Of course, without actually clipping the content to that “viewport size.”) Am I making sense? Is there a way to accomplish this? I’m hoping there’s a way to match the behavior in a normal iframe or viewport, where there’s a “viewport size” that the document body width reverts to once it’s no longer propped wider by the. ![]() iFrameResizer makes the iframe width in turn determined by the document contents.divs are width:100% of the parent document body whose width is 100% of the iframe.I think this is because of the following feedback loop: Below is a simple minimal example - pressing ‘go’ toggles on/off a div appearing far to the right, but once it appears, the width never reverts back to its original size. How do you prevent the iframe from growing unbounded? It seems easy to cause this problem, especially with width but also with height. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |