Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iframe height set to 150px #23

Closed
PatrickMoog opened this issue Apr 1, 2014 · 2 comments
Closed

Iframe height set to 150px #23

PatrickMoog opened this issue Apr 1, 2014 · 2 comments
Labels

Comments

@PatrickMoog
Copy link

Hi
When I am using your plugin, almost exactly as your example the iframe is calculated to 150 px in height.

From the console:
IFrame (iFrameResizer0) height set to 150px
(the default iframe size)
The setup is crossdomain.
If I call
window.parentIFrame.size(250);
in the iframe it works.

You can see the iframe host here:
//s3-eu-west-1.amazonaws.com/sleeknoteboxcontent/5410.html

What am I doing wrong?

@davidjbradshaw
Copy link
Owner

Most likely thing is your CSS is causing the body tag to overflow. Have you tried the suggestions in the troubleshooting section of README.md to work around this?

@davidjbradshaw
Copy link
Owner

Just had a quick look at your page, the problem is that all your content is absolutely positioned to the bottom right of the page. This forces the body size to be the size of the window, You need to make the form relatively positioned and then sized to fit your content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants