Solved

iframe autoheight

Posted on 2011-09-06
2
326 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
[X]
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
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
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…

724 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