Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 18. Jul 2018, 00:58

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Iframe Auto Height
PostPosted: 5. Jul 2018, 11:00 
Offline

Joined: 4. Jul 2018, 08:39
Posts: 5
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/


Top
 Profile  
 
 Post subject: Re: Iframe Auto Height
PostPosted: 6. Jul 2018, 23:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10859
You have to enable auto height.

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

Best, Michael


Top
 Profile  
 
 Post subject: Re: Iframe Auto Height
PostPosted: 9. Jul 2018, 06:13 
Offline

Joined: 4. Jul 2018, 08:39
Posts: 5
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"]


Top
 Profile  
 
 Post subject: Re: Iframe Auto Height
PostPosted: 9. Jul 2018, 09:00 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10859
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy