Page 1 of 1

Problem changing src of an iframe in HTML-component when using Render all pages in one HTML file option

Posted: Fri Apr 22, 2016 9:24 pm
by Joni de Campos

My Project has a main page and a child iframe that changes the URL conforming to the options I set.

I am using the following line to change the URL src in the child iframe:

Appery('workArea').html("");

where :
workArea = the name of the HTML component.
myPage.html = the page I want to display inside de iframe.

And it works fine, but when I set the option in the Project Apps Setting and test, the App it does not find the iframe page.

What is the correct sintax to call a URL inside the iframe using this option.


Problem changing src of an iframe in HTML-component when using Render all pages in one HTML file option

Posted: Sat Apr 23, 2016 12:43 pm
by Galyna Abramovych

Hello Joni,

We are working on this issue and will report to you as soon as we have some update.


Problem changing src of an iframe in HTML-component when using Render all pages in one HTML file option

Posted: Sat Apr 23, 2016 5:01 pm
by Joni de Campos

Thanks Galyna.


Problem changing src of an iframe in HTML-component when using Render all pages in one HTML file option

Posted: Mon Apr 25, 2016 10:19 am
by Serhii Kulibaba

Hello Joni,

If you set "Render all pages in one HTML file" Appery.io generates only one html file, so there are no any another html files. If you want to put a page content to the html file, please read it with jquery selector, e.g.:

prevar myPage = $('[data-url="myPage"]');/pre