Is there a way to set the height of the iframe to the same as the height of its source?I'm trying a) Avoid scrollbars andb) Avoid using fixed height in pxThanks. :)
I think this question was answered before
Since the source page is in a different domain - no.
The only way to adjust your size based on the content is to measure the display size of the content using JavaScript, and the same origin policy will prevent this.
, iframe-? javascript thingie (squeezeFrame.js) , , .
;
squeezeFrame.js
Source: https://habr.com/ru/post/1738841/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1738834/how-can-i-round-money-values-to-the-nearest-500-interval&usg=ALkJrhjHxiLi6nx2pS4Pz8EA8Zd8XFL5RgLinq To Sql Left external join - filtering null results - c #Why doesn't the numpy matrix allow me to print lines? - pythonSQL Server: How to Optimize "Related" Queries? - sqlWhat is the best library in python used to interact with a SQL database? - pythonUpload files to Google Application Engine using Django - google-app-engineHow to change javascript warning window title in UIWebView? - iphoneHow to download images from an iPhone application developed using Titanium - phpWriting a string, numeric data in Excel using C # works, but Excel does not process numeric data correctly - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1738846/c-professional-code-analysis-tools&usg=ALkJrhio2CJoAkNg6R_7Wg-zxf86Nw5HQQAll Articles