jQWidgets Forums
jQuery UI Widgets › Forums › Dialogs and Notifications › Window › dynamic height for iframe › Reply To: dynamic height for iframe
Hi kathyl,
If you need a window with auto height, its content element (i.e. the iframe) needs to have its own height set. That is how height: auto
works in CSS. In your scenario, you would have to calculate the height of the document in the iframe and pass it to the iframe itself. The following Stack Overflow topic seems to have a solution for that: http://stackoverflow.com/questions/819416/adjust-width-height-of-iframe-to-fit-with-content-in-it.
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/