Comments (11)
Hi,
Just tried it in Chrome and it seemed to work ok for me. What browser are
you using?
Could you please add the output to the JavaScript console, so I can see
what is happening in your browser.
Dave.
On Tue, Aug 20, 2013 at 7:14 PM, johndellavecchia
[email protected]:
I have a .NET application running in the iframe, but the dynamic content
does not expand the frame height. As soon as I resize the browser it
expands. It seems it is working well, just not with the dynamic resizing
based on the content within the frame:http://mentalhe.nextmp.net/mobiletest/test.html
Any insight appreciated - thank you for the great plugin.
β
Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.
David J. Bradshaw )'( [email protected]
'The people we think are a little weird are the ones who change the world'
- Simon Sinek
from iframe-resizer.
Hi Dave - Log is set to true.
Attached are images that show the dynamic content not expanding when engaged, and then when the browser is resized. Notice the height - it is the same page. The dynamic content does not make the iframe resize - it only resizes when you resize the browser window. You see the text cut off in the first screenshot.
I am working in Safari/Chrome.
John
from iframe-resizer.
Oh now I understand, the problem is that when you dynamically update the page, the resize event does not fire. You need to call window.onresize(); or if you prefer jQuery $(window).trigger('resize'); to fire the event.
Will have have a think of a way to pick that up so you don't need to make the call.
from iframe-resizer.
Thank you very much. Where do I place the $(window).trigger('resize'); call?
from iframe-resizer.
After any code that triggers a change in content. However, just been
testing that this morning and I'm not sure how reliable it is. So instead
I'm going to add an option to set an interval timer in the iFrame. Should
have it up later today.
On Wed, Aug 21, 2013 at 11:04 AM, johndellavecchia <[email protected]
wrote:
Thank you very much. Where do I place the $(window).trigger('resize');
call?β
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-23007036
.
David J. Bradshaw )'( [email protected]
from iframe-resizer.
Try v0.2.0 and let me know if it fixes this for you.
from iframe-resizer.
David - Sorry, no change in the window resizing.
from iframe-resizer.
You need to add interval:250 to the call in the host page. See the updated readme file for details.
from iframe-resizer.
So sorry for missing that. Works beautifully! Thank you for the customization.
from iframe-resizer.
Just done another update, which has another solution to your problem.
from iframe-resizer.
Hi David,
I have a similar issue. In fact, everything is ok for Firefox and IE but not in Chrome (version 34.0). How I can force/help Chrome to make into account the correct height of my iframe? Actually, the content of my iframe is built dynamically according to the data that I want to show. How I can force your plugin to detect the window resizing in chrome (this is my major problem)?
Thanks in advance for your help.
Regards.
Samir.
from iframe-resizer.
Related Issues (20)
- 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
- Rounding up calculated height value to non-decimal number to prevent scrollbar from showing HOT 33
- Callback from IframeResizer does not get the latest state object HOT 2
- iFrame with dynamic blog posts nested in toggles not resizing in mobile phones. HOT 10
- Hard to make this, any advices on debugging and devolping?
- How to handle media queries? HOT 1
- Future roadmap
- Attempting to import latest parent script via CDN results in a 400 error HOT 4
- Vue Feedback
- License changed from MIT to GPL HOT 1
- Incorrect license in 4.4.x package.json HOT 4
- Some times page show as blank on IOS device (iPhone Safari Browser) if forum is embedded and scroll up and down and then stop. HOT 2
- Vue version, TypeError: Cannot destructure property 'title' of 'document.getElementById(...)' as it is null. HOT 4
- 5.1.2 bug - index.umd.js:20 Uncaught TypeError: Invalid value used in weak set HOT 6
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.