I want to create a dynamic height Iframe.
I am building a custom search engine in which i have to show my data with the google search data.
Means: If i enter “asdq” in the search textbox then it will show my data result with custom google search result.
I want to change the height of the iframe accordant to the content send by the google.
Means:Let Google send 10 row then my iframe size will be 100px if Google send 1 data then 10px etc.
If I fix the height of the iframe then scroll bar comes to the iframe if more data come from Google.
you can see my problem here
Actually i want to remove the scroll bar of the iframe so that only one scroll bar will be there that is pages scroll bar.
please help
Thanks in advance.
We can’t set the size of Iframe if it is getting data from other domain means if we don’t have access to the body of the iframe.
We can use this to over come form this problem.