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

Iframe Auto Height
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4834
Page 1 of 1

Author:  dwivyandre [ 5. Jul 2018, 11:00 ]
Post subject:  Iframe Auto Height

i just added another iframe to my page, im trying to display gallery section with tabs , when i clicked tab of images, my iframes showing the bottom section, is it possible to iframe make it to auto height as content that i've showed ?

this is my second iframe to show all images with tab element from iframe
http://prntscr.com/k2s76y

this is when i clicked the tabs (battery finder still showed) the iframe height still fixed, any solution for auto height equals to content ?
http://prntscr.com/k2sac2

demo: http://client.toffeetest.com/gsa/product-ranges/

Author:  TinyWebGallery [ 6. Jul 2018, 23:37 ]
Post subject:  Re: Iframe Auto Height

You have to enable auto height.

Please check which features are available for you:
http://www.tinywebgallery.com/blog/adva ... y-overview

Best, Michael

Author:  dwivyandre [ 9. Jul 2018, 06:13 ]
Post subject:  Re: Iframe Auto Height

i dont know how to use it, can u please check it out?

here's my script & shortcode:

Code:
<script>
   var updateIframeHeight = "true";
   var keepOverflowHidden = "false";
</script>
<script src="https://client.toffeetest.com/gsa/wp-content/plugins/advanced-iframe/js/ai_external.js"></script>


Quote:
[advanced_iframe use_shortcode_attributes_only="true" src="http://103.94.125.101/katalog_batterynew/#portfolio" width="1080" height="1500" scrolling="no" id="advanced_iframe" enable_responsive_iframe="true" show_part_of_iframe="true" show_part_of_iframe_x="15" show_part_of_iframe_y="232" show_part_of_iframe_width="1044" show_part_of_iframe_height="1249" onload_resize="true" enable_external_height_workaround="true"]

Author:  TinyWebGallery [ 9. Jul 2018, 09:00 ]
Post subject:  Re: Iframe Auto Height

I see a couple of problems:

1. you try to include a http iframe into a https site. This is not supported by all major browsers! you need to use http!
2. show_part_of_iframe together with auto height does not make sense as show_part_of_iframe shows a fixed size of the iframe.
3. you use the resize for the same domain onload_resize="true". But you are on different domains.

also open the browser console (e.g. chrome with f12). Most of you problems are displayed there.

Best, Michael

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