Notifications
Clear all

External iframe on different domain

10 Posts
2 Users
0 Reactions
624 Views
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Hi,

is seems you page in the iframe is loaded asynchron. 

Can you please add a resize delay:

var onload_resize_delay=500;

or

configure resize on element resize.
var resize_on_element_resize = "#ai_wrapper_div";

Best regards, Michael

 

 

 

Reply
1 Reply
(@kukaraditya)
Joined: 7 months ago

Active Member
Posts: 6

@admin great ! seems this suggestion has resolved the issue. Now I have 2 more issues for which I need your inputs -

1) I want that on submit the form shall scroll to top, but its not going on top

2) My project is developed in Angular, so by any chance you have code for that ?

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

1. have you configured this? As it is in agular you have a one page application. So please see in the external workaround tab -> scroll to top how to do this.

2. The scroll can be configured - so no additional code needed.

Best regards, Michael

Reply
1 Reply
(@kukaraditya)
Joined: 7 months ago

Active Member
Posts: 6

@admin Thanks for your quick reply. I am sorry, I think i was not able to correctly put my 2nd question, let me rephrase it

2) My project is developed in Angular but I am not able to yet convert your standalone iframe php  code to angular, So by any chance you have code for angular too apart from PHP ? I am ready to buy that one too if you have.

Reply
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

Hi,

No. The whole code is rendered on the server side. Having a pure Javascript version would need a complete rewrite.
You could  try to create a rest endpoint which is delivering the html/Javascript which is rendered from the server.

Best regards, Michael

Reply
Page 2 / 2