Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Auto Resize Issue https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=6705 |
Page 1 of 1 |
Author: | Narendar [ 6. Mar 2020, 09:23 ] |
Post subject: | Auto Resize Issue |
our iframe is not resizing, Could you please help us on below issue. TypeError: window.parent.parent.aiResizeIframeHeightId is not a function at iframe_height.html?height=2319&width=1180&id=advanced_iframe:24 |
Author: | TinyWebGallery [ 6. Mar 2020, 10:05 ] |
Post subject: | Re: Auto Resize Issue |
Hi, Can you please check if the ai.js is loaded? Also go to the options tab and include the ai.js to the top (bottom is default). Sometimes if the iframe loads faster than the parent page the method is not loaded yet. Also please switch to postMessage communication if you use the pro version. Best, Michael |
Author: | TinyWebGallery [ 6. Mar 2020, 10:09 ] |
Post subject: | Re: Auto Resize Issue |
you have a url already? |
Author: | Narendar [ 10. Mar 2020, 03:10 ] |
Post subject: | Re: Auto Resize Issue |
check the below URL https://kimteckcheong.com/investor-relations/ |
Author: | TinyWebGallery [ 11. Mar 2020, 10:32 ] |
Post subject: | Re: Auto Resize Issue |
There are 2 issues: 1. None of my Javascript which should exist is there! Normally before and after the iframe is a lot of it. And this Javascript does contain the missing method! If you compare yours with mine: view-source:https://kimteckcheong.com/investor-relations/ view-source:http://www.tinywebgallery.com/blog/advanced-iframe/demo-advanced-iframe-2-0 search for <iframe you see that a lot of things are missing. Do you have a plugin which "optimizes Javascript" or removes it? Because i see Javascript in the code. So this confuses me. 2. You have 2 iframes with the same id defined! id's need to be different as Javascript is also rendered with this id. Best, Michael |
Author: | TinyWebGallery [ 11. Mar 2020, 10:39 ] |
Post subject: | Re: Auto Resize Issue |
And what is the short code you use? Best, Michael |
Author: | TinyWebGallery [ 11. Mar 2020, 10:50 ] |
Post subject: | Re: Auto Resize Issue |
Do you maybe use the [iframe] shortcode? You need to use [advanced_iframe] one... |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |