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

Urgent: Auto-resizing not working, we've been trying for 2dd
http://www.tinywebgallery.com/forum/advanced-iframe-support-f21/urgent-auto-resizing-not-working-we-ve-been-trying-for-2dd-t6416.html
Page 1 of 1

Author:  goetica [ 27. Jul 2019, 19:09 ]
Post subject:  Urgent: Auto-resizing not working, we've been trying for 2dd

Hey Michael, pls can you urgently help us we are trying to launch.

We followed this
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/sub-domain-auto-height-and-css-modifications

We specified the domain

The issue is that it works but it's not taking the right height, when we press the 'SEE MORE TICKETS' button it does nothing.

We used this code:
[advanced_iframe use_shortcode_attributes_only="true" src="https://search.goetica.org/search" width="100%" height="2950px" scrolling="no" id="advanced_iframe_search" allowfullscreen="true" url_forward_parameter="ALL" iframe_content_id="iframe_content" onload_resize="true" store_height_in_cookie="true"
enable_external_height_workaround="true"
hide_page_until_loaded_external = "true" ]

and in the iframe page
var iframe_id = "advanced_iframe_search";
var updateIframeHeight = "true";
var onload_resize="true";
var hide_page_until_loaded_external = "true";
</script>
<script src="https://www.goetica.org/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>
</body>

sometimes works and fits the size, most of the time does not and pressing on show more button does nothing

Please can you help us?

Author:  TinyWebGallery [ 2. Aug 2019, 09:19 ]
Post subject:  Re: Urgent: Auto-resizing not working, we've been trying for

Sure.

You need to enable "resize on element resize".

See
http://www.tinywebgallery.com/blog/advanced-iframe-resize-to-content-summary -> 2.

also see
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/resize-on-element-resize

Best, Michael

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