Comments (12)
Do your iFrames have IDs on them?
from iframe-resizer.
They didn't. Now they have and I'm using iFrameResize({ ... }, "#outer")
with same results.
from iframe-resizer.
Oh the HTML tag, not the JS call.
from iframe-resizer.
You mean:
<iframe id="inner" src="inner.html" width="100%" ></iframe>
? Yep, I added that in the last comment and additionally used the "#inner"
in the call.
from iframe-resizer.
What happens in the endless loop? Which browser? Does the nested example work for you?
from iframe-resizer.
Google Chrome v35, Firefox 24 and Firefox 29 under Linux.
Sorry, hadn't seen the nested example. Same problem: it works well when opening the top frame and then clicking on the Nested link. But opening the nested frame directly, there is an endless loop where the height is being continuously increased.
from iframe-resizer.
Oh now I understand the issue. Will take a look.
from iframe-resizer.
Does this work for you now?
http://davidjbradshaw.com/iframe-resizer/example/frame.nested.html?1
from iframe-resizer.
Both in Firefox and Chrome it does not enter in a loop anymore. In Chrome it works perfectly, but in Firefox the iframe is not properly resized (see screenshot).
from iframe-resizer.
Bugger seems FireFox has a function stack scoping bug in it JS implementation. Can you give it another go.
D.
from iframe-resizer.
Thank you! It works like a charm in Chrome, Firefox 24 and 29. Thank you!
from iframe-resizer.
Cool will publish the fix shortly as v2.5.1
from iframe-resizer.
Related Issues (20)
- Example page not working HOT 3
- Library removes height:auto inline style from html and body elements HOT 1
- Iframe Didn't work properly when added a class to hide some text. HOT 1
- How can I use "autoResize" option dynamically. It's not working as expected. HOT 3
- How can I write a test to test what happens when iframeresizer onMessage is invoked? HOT 1
- How to use this in SvelteKit? HOT 2
- wrong files version in js folder for 4.3.6
- Undocumented option `warningTimeout`
- Logo Design
- Feature request: add optional offset argument to moveToAnchor method HOT 4
- Trigger iframe-resizer to resize HOT 1
- How to integrate with nuxt3? HOT 2
- Time overhead when adding many elements under a same HTML element HOT 4
- i am having button inside iframe . how can i detect button click event HOT 1
- Scroll to element on AJAX request not working in child page even with scrolling set to yes HOT 1
- BREAKING🐞: `v4.3.9` release breaks usage of `.min.js` file from CDN HOT 5
- Scrolling may make the page jump to the left HOT 4
- [Feature Request] Add onResizeError callback HOT 4
- Value for minHeight can not be greater than maxHeight HOT 1
- Extra padding in Safari (macOS) 17.3 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iframe-resizer.