Comments (14)
Can you add the console log output.
from iframe-resizer.
I've just double checked it and can not repro this problem. Can you please send me a link.
from iframe-resizer.
I tell you what I have done.
I extracted the archieve.
I opened the index.html present in the examples folder and change this:
iframe src="frame.content.html" width="100%" scrolling="no"> iframe
to this
iframe src="http://www.mydomain.org/frame.content.html" width="100%" scrolling="no"> iframe
obviously mydomain.org contains the frame.content.html
when I open the index.html on my localhost using IE, no button resize the iframe.
THANKS FOR THE ANSWER!!!!!!!
from iframe-resizer.
I noticed that the size(250) link does not work while the toggle works.
How can I call the size(250) using jquery instead of the javascript that does not work on IE?
Thanks.
from iframe-resizer.
Hi,
IE doesn't allow postMesaage, if one page is on the local filesystem. You need to remotely host both parts.
To get the manual sizing to work in IE, you have to disable the interval timer. You can do this by setting it to zero. Or set the autoResize option to false.
D.
from iframe-resizer.
Hi
I inserted this link on the iframe:
a href='http://mentadent.it' onclick="$('body:eq(0)').height(2500);">Set body to 2500 /a
in this way it works on IE9.
How can I set the interval to 0?
Thanks!!!
from iframe-resizer.
$('iframe').iFrameResize([{options}]);
from iframe-resizer.
$('iframe').iFrameResize([{interval:0}]);
from iframe-resizer.
I haven't understood how to use this code.
the only way I can resize the iframe is putting this in onclick:
$('body:eq(0)').height(SIZE);
is there a way to force interval in some other way?
from iframe-resizer.
Parent page.
$('iframe').iFrameResize({
autoResize:false,
enablePublicMethods:true
});
iframe
if ('parentIFrame' in window) {
parentIFrame.size(250);
}
from iframe-resizer.
you rock, thanks ;)
from iframe-resizer.
Hi,
I unsterred the thread.
I put the if ('parentIFrame' in window) {
parentIFrame.size(250);
} in production and firebug gives me this error resulting in no resize:
Error: Unexpected message received from: http://IFRAMESERVERIP:8889 for myframe. Message was: [iFrameSizer]myframe:40:986:init
any help could be much appreciated
from iframe-resizer.
tomorrow I will try to set:
checkOrigin:false
hope that this will solve the problem
from iframe-resizer.
That looks like you have the parent page script in th the iFrame.
from iframe-resizer.
Related Issues (20)
- 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
- 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
- Svelte HOT 3
- How to handle media queries? HOT 1
- Future roadmap
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.