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

Show Iframe in Accordions
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4732
Page 1 of 1

Author:  vaamsolution [ 11. Jun 2018, 19:24 ]
Post subject:  Show Iframe in Accordions

Hi,

I want to show iframe URL content in Accordions tab. We have created page. But when we open Accordions, there is white page showing. when we checked this, so we find that height is showing 0 for iframe. You can check here.

http://sanlambewell.co.za/sanlam/my-wellness-programme/self-help/self-help-stress-2/

So please suggest me, how should we show this?

Thanks,
Anoop

Author:  TinyWebGallery [ 11. Jun 2018, 22:02 ]
Post subject:  Re: Show Iframe in Accordions

This is the problem of hidden elements as they have a size of 0 when invisible.

See
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/auto-height-of-hidden-iframes
example 28 is the one I recommend to use.

Best, Michael

Author:  vaamsolution [ 12. Jun 2018, 15:16 ]
Post subject:  Re: Show Iframe in Accordions

Thanks, Michael.

It is working fine now.

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