Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

iframe autoheight

Posted on 2011-09-06
2
324 Views
Last Modified: 2012-05-28
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
Comment
Question by:ChrisTERiS
2 Comments
 
LVL 13

Accepted Solution

by:
ansudhindra earned 500 total points
ID: 36490362
0
 

Author Comment

by:ChrisTERiS
ID: 36496161
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question