Notifications
Clear all

Resize Issue After upgrade

2 Posts
2 Users
0 Reactions
713 Views
Posts: 1
Topic starter
(@thebarman)
New Member
Joined: 4 years ago

Hi Mate,

After the new upgrade I can't seem to get my iframes to resize and getting below error:

https://cyclecollective.com.au/drop-in-passes/

I've had to turn scrolling to auto from no

scrolling="auto" 

The received message cannot be parsed and seems not to belong to advanced iframe pro. Please disable the postMessage debug mode if this o.k. and that this message is not shown anymore.

[advanced_iframe src="//cyclecollective.com.au/price/drop-in.html" width="100%" height="100vh" name="advanced_iframe" id="advanced_iframe" scrolling="auto" enable_responsive_iframe="true" enable_ios_mobile_scolling="true" show_iframe_loader="true" enable_external_height_workaround="true" onload_resize="true" onload_resize_delay="250" onload_scroll_top="iframe" use_post_message="debug" use_shortcode_attributes_only="true" multi_domain_enabled="true"]

Any ideas ?
Chris
1 Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Hi,

If I look at you page I see :

"The configuration of "element_to_measure" is invalid. The specified element advanced_iframe could not be found. Please check your configuration. As fallback "default" is used which measures the first child of the body."

You have defined:

var element_to_measure = 'advanced_iframe';

This is the iframe itself! You need to specify an element IN your iframe. This is ".container" or ".background" in your case. OR simply leave it to "default" where I try to detect the outermost value.  

Can you please set post message to debug in the administration. Because then it is set in ai_external.js as well and in the logs is then visible which data is sent.

And from which to which version did you upgrade. In the last smaller upgrades there where no change at all.

Best, Michael

 

Reply