[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

iframe autoheight

I'm wondering if there is a javascript function, or jquery plugin which really automatically resizes the iframe's height. And I'm not talking for the easy situation where the iframe content is static data, but when the content is dynamic (eg a datagrid).

I've tried at least 10 jquery plugins and some jascripts functions, but none of them, really worked. There were 2-3 that was nearly ok, as it was changing the height but still they were hidding around 30-50px from the bottom. I changed the body margin to 0, but has no difference.

0
ChrisTERiS
Asked:
ChrisTERiS
1 Solution
 
ChrisTERiSAuthor Commented:
Sorry, but as most other solutions does not supports real autoheight with dynamic content. In my iframes I've datagrids which means that the height changes if the user change eg the records per page.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now