javascript - How to set the Height of the Iframe Dynamically as per the content loading in it? -


this question has been posted lot of times, have referred them not working me. have iframe loads wesite in it. want height of iframe must change dynamically per height of website page loading in it. no manual height settings. how can that?

<iframe src="http://www.w3schools.com/" width:150;></iframe> 

could please fiddle , show me? advance help. fiddle link below:

[link] ( http://jsfiddle.net/vineetgnair/5p0pl5zu/ )

it's not easy in cross-browser safe way may seem. better off using javascript library you. have used this one success before.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -