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

Close iFrame
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4331
Page 1 of 1

Author:  renech [ 26. May 2017, 22:58 ]
Post subject:  Close iFrame

Hi,
When i close the iframe, which has audio, it keeps ringing. It's like it does not close at all. It just stops ringing if you change focus to another page.
The settings are set to open iframe in layer.

Any suggest?

Thanks
René.

Author:  TinyWebGallery [ 26. May 2017, 23:47 ]
Post subject:  Re: Close iFrame

right. it does only hide the iframe.

open ai.js in the js folder of the plugin.

search for
function ai_hideLayerIframe

and add
jQuery("#" + id).attr('src', "about:blank");

Best Michael

Author:  renech [ 1. Jun 2017, 16:40 ]
Post subject:  Re: Close iFrame

:D Thanks

Author:  TinyWebGallery [ 1. Jun 2017, 19:31 ]
Post subject:  Re: Close iFrame

I will also add this to the next version as I have rewritten this feature a little bit.

Best, Michael

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