Solved

iframe autoheight

Posted on 2011-09-06
2
316 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
Comment Utility
0
 

Author Comment

by:ChrisTERiS
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now