Solved

iframe autoheight

Posted on 2011-09-06
2
319 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now