Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Feedback URL handling https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4930 |
Page 2 of 2 |
Author: | Castleland [ 8. Aug 2018, 12:32 ] |
Post subject: | Re: Feedback URL handling |
Hi Michael, Just to make sure I'm understanding correctly. I change this setting in external workaround: Resize/ css modification delay: 5000 which changes: Code: if (typeof onload_resize_delay === 'undefined') { var onload_resize_delay =5000; Which saves it to ai-external.js which I then put on my remote CDN I'm using this file from my github: https://github.com/Castleland/Iframer/blob/master/ai-external.js which is called in the wrapper file with Code: <script src="https://cdn.rawgit.com/Castleland/Iframer/cfee2b7f/ai-external.js"></script> which when I open directly has the setting changed, and I've reloaded without the cache too, to make sure. So it's definitely applying the change. The only time I get the delay is on the initial load of the iframe, it doesn't seem to delay when changing pages within the iframe, is that the intended behaviour? The shopping cart page is the only page with an anchor so I think that must be the cause for whatever reason, unfortunately I have no way of disabling that behaviour. |
Author: | TinyWebGallery [ 9. Aug 2018, 21:56 ] |
Post subject: | Re: Feedback URL handling |
If I open the file directly you have set there var onload_resize_delay = 0; another question. Do you have real page loads or are the pages loaded by ajax? Because the onload_resize_delay only applies on page loads. Best, Michael |
Page 2 of 2 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |