Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

auto resize/hiding elements no longer working after update
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4313
Page 1 of 1

Author:  motografik [ 25. Apr 2017, 00:25 ]
Post subject:  auto resize/hiding elements no longer working after update

Page where the iframe is embedded and where the issue occurs:
http://www.dmcmedicalgroup.com/health-library/

Shortcode used:
Code:
[advanced_iframe securitykey="27927d2e16e349beefc99a28886f958d8078308f" src="http://dmcmedicalgroup.staywellsolutionsonline.com/" width="100%" onload_show_element_only="#siteBodyContainer" enable_external_height_workaround="true"]


Page that the iframe is pulling in:
http://dmcmedicalgroup.staywellsolutionsonline.com

I also made sure that the Staywell page above has the code inserted in order to control it cross-domain:
Code:
<script>
var updateIframeHeight = "true";
var enable_responsive_iframe = "true"
var hide_page_until_loaded_external = "true";
var iframe_hide_elements = ".fusion-header-wrapper, .fusion-footer";
</script>
<script src="http://www.dmcmedicalgroup.com/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>


As you can see, it's not resizing the height of the iframe to match the content anymore. And it's also not hiding the otherwise redundant header and footer. This all used to work and function fine until I updated to v7.4.2.

Author:  TinyWebGallery [ 25. Apr 2017, 09:18 ]
Post subject:  Re: auto resize/hiding elements no longer working after upda

Can you please set
iframe_redirect_url = "";

Seems this is set in your main config but there is a bug in the code right now. I fix this right away and put this version to codecanyon.

Best, Michael

Author:  TinyWebGallery [ 25. Apr 2017, 09:57 ]
Post subject:  Re: auto resize/hiding elements no longer working after upda

A fixed version 7.4.3 is now waiting for approval on CodeCanyon...

Best, Michael

Author:  motografik [ 25. Apr 2017, 18:08 ]
Post subject:  Re: auto resize/hiding elements no longer working after upda

Sounds good. I'll be on the lookout for the plugin update.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/