Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 19. Apr 2024, 10:00

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 8. Aug 2018, 12:32 
Offline

Joined: 28. Jul 2018, 22:05
Posts: 9
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.


Top
 Profile  
 
PostPosted: 9. Aug 2018, 21:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy