Notifications
Clear all

iFrames disappear randomly

7 Posts
2 Users
0 Likes
1,018 Views
Posts: 4
Topic starter
(@printboy1)
Active Member
Joined: 3 years ago

Any frames, they take turns disappearing after every refresh, sometimes they all load in and stay correctly, other times they randomly disappear. Sometimes 1 sometimes 2 or even all of them. Im hoping to have a page that will hold 12+ I frames. Ive just been testing with 3 til I can get it working right. 

The goal is to have 3 colums and multiple rows of iframes loading pages where you see the photo, countdown and money raised. I can get it close but when I have it all done, and you reload the site, you will see the iframes flash and disappear, or just the image stays and everything else disappears.

I can run scripts on the exteral but thats all the control I have.

Reply
TinyWebGallery
Posts: 880
Admin
(@admin)
Prominent Member
Joined: 15 years ago

Hi, When I go to your page I see a Javascript error. You might fix this first as Javascript errors can cause other Javascript to fail. 

Also how is the setup of the external workaround! because I don't see the ai_external.js! But I see that it is applied. IT also seems the scripts are loaded async. This can be a problem as then all code is executed too late! 

Also it seems you still use the old iframe communication. Go to the external workaround tab and use post communication. And also set this to debug.

The main issue can be: you didn't have any ids set! And the external workaround NEEDS to have a unique id for its callbacks! So all callbacks only call the right iframe! and not all the first one! 

As all of your pages go to the same domain - and I assume there is only one single ai_external.js. Therefore you would need a config switcher - See the js folder - there is a template for this! 

 Best, Michael

 

Reply
Page 2 / 2