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

In Internet Explorer does not work iframe auto height
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4386
Page 1 of 1

Author:  BFV [ 3. Aug 2017, 13:28 ]
Post subject:  In Internet Explorer does not work iframe auto height

Hello
In Internet Explorer does not work iframe auto height ... is cut
How do I solve it?
Thank you

Author:  TinyWebGallery [ 3. Aug 2017, 17:59 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

Is it only Internet explorer? Which version and how does your setup looks like?

Best, Michael

Author:  BFV [ 4. Aug 2017, 08:48 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

INTERNET EXPLORER 11 AND PREVIOUS VERSIONS THE IFRAME AUTOMATIC HEIGHT DOES NOT WORK.

Author:  TinyWebGallery [ 4. Aug 2017, 11:21 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

Can you check the Javascript console for errors?
Do you have an url where I can check?

How does your shortcode and setup (same domain? using external workaround?) looks like?

Best, Michael

Author:  svoboda [ 22. Sep 2017, 16:23 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

Have the similar problem - Internet Explorer 10 cuts off the iframe. Safari, Chrom are OK.
Here is the link http://svoboda-news.com/svwp/пошук-в-архіві/
Can't find the answer in forum.

Thanks.

Author:  TinyWebGallery [ 24. Sep 2017, 21:16 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

I see an error in the Javascript console. I checked and I also have this in my demo. I will try to fix this for IE and then a new version will be released.

Best, Michael

Author:  TinyWebGallery [ 24. Sep 2017, 22:18 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

I found the problem.

I will update The version asap.

If you want to fix it by yourself:

open js/ai.js

Look for
function ai_showLayerIframe(event, id, path, hide_until_loaded, show_loading_icon, keep = false, reload = true) {

replace it with

function ai_showLayerIframe(event, id, path, hide_until_loaded, show_loading_icon, keep, reload) {
keep = (keep === undefined) ? false : keep;
reload = (reload === undefined) ? true : reload;

Best, Michael

Author:  svoboda [ 25. Sep 2017, 14:08 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

Thanks Michael.
I do not see the expression you provided for replacement.
The closest I have (lines 998-1007):

function ai_showLayerIframe(id, path) {
jQuery("#ai-layer-div-" + id).show();
jQuery("#ai-zoom-div-" + id).show();
jQuery("#" + id).show();

jQuery('body').css("overflow","hidden");
jQuery('html').css("overflow-y","visible");
jQuery('body').append('<img id="ai_backlink" src="'+path+'close.png" onclick="javascript:ai_hideLayerIframe(\''+id+'\');" style="z-index:100001;position:fixed;top:0;right:0;cursor:pointer" />');
jQuery('body').append('<div id="ai_backlayer" href="" style="z-index:999;position:fixed;top:0;left:0;width:100%;height:100%;background-color: rgba(50,50,50,0.5);overflow:hidden;"><!-- --></div>');
}

Will wait for the update.

Author:  TinyWebGallery [ 25. Sep 2017, 14:30 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

which version do you have?

Author:  svoboda [ 25. Sep 2017, 15:27 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

7.2.1 pro and 7.5
Got it in 7.5.
Thanks.

Author:  TinyWebGallery [ 1. Oct 2017, 12:11 ]
Post subject:  Re: In Internet Explorer does not work iframe auto height

7.5.1 is online now. There this is fixed.

Best, Michael

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