house9/jquery-iframe-auto-height

Auto width?

Closed this issue · 1 comments

Are there any plans to make this plugin auto calculate width as well as height?

nope, but i think you can usually set the width to 100% and then set the width of the container element, something like: <div style="width: 340px"><iframe src="xxxx" style="width: 100%"></iframe></div>