Title: Height doesn&#8217;t adjust
Last modified: July 26, 2023

---

# Height doesn’t adjust

 *  Resolved [webworks](https://wordpress.org/support/users/webworks/)
 * (@webworks)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/height-doesnt-adjust/)
 * Hello – I have your plugin on this page, however, when the number adults is selected,
   the iframe doesn’t auto adjust. Am I missing an attribute?
 *     ```wp-block-code
       [advanced_iframe use_shortcode_attributes_only="true" src="https://makersair.com/original2023.html" width="100%" height="100vh" scrolling="no" loading="auto" onload_resize="true" store_height_in_cookie="true" resize_on_ajax="100" resize_on_click="100"]
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fheight-doesnt-adjust%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [webworks](https://wordpress.org/support/users/webworks/)
 * (@webworks)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/height-doesnt-adjust/#post-16925894)
 * Actually, a more crucial problem occurs… something appears to be freezing the
   page altogether. However, the _target _page does *not* freeze outside the iframe.
   Do you see the cause? Can anything be done to correct this problem?
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/height-doesnt-adjust/#post-16925896)
 * The shortcode you use is overloaded. Some of the setting will not improve anything.
 * Have you seen: [http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklist](http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklist)
 * The Javascript console is your best friend.
 * Cheers, Michael
 *  Thread Starter [webworks](https://wordpress.org/support/users/webworks/)
 * (@webworks)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/height-doesnt-adjust/#post-16926109)
 * Yes, thank you I have checked the console. I’m just unable to tell what’s causing
   the actual freezing. Okay I’ll remove some of the variables and hopefully get
   it expanding upon drop down.
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/height-doesnt-adjust/#post-16928056)
 * I see
   Uncaught ReferenceError: AutoiFrameAdjustiFrameHeight is not defined
 * can you please to the the administration -> options _> Include ai.min.js in the
   footer – and set this to No.
 * Best regards, Michael
 *  Plugin Author [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * (@mdempfle)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/height-doesnt-adjust/#post-16987585)
 * No further feedback – Please reopen if I still can help,
 * Michael

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Height doesn’t adjust’ is closed to new replies.

 * ![](https://ps.w.org/advanced-iframe/assets/icon-128x128.png?rev=1028488)
 * [Advanced iFrame](https://wordpress.org/plugins/advanced-iframe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-iframe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-iframe/reviews/)

## Tags

 * [auto height](https://wordpress.org/support/topic-tag/auto-height/)

 * 5 replies
 * 2 participants
 * Last reply from: [mdempfle](https://wordpress.org/support/users/mdempfle/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/height-doesnt-adjust/#post-16987585)
 * Status: resolved