Compilation - Forum

Forum Navigation
You need to log in to create posts and topics.

Compilation

I know that this is a bit trivial, but is there a compilation option to produce the app as a <div>? I would like to include it in an existing web page without using i-frames.

Thank you

Sorry @roxie, that's not possible due to the nature of <div> elements.
You must use IFrames.
Why are you reluctant to use them?

I used the source of iframe local(D:\webapp\index.html) in my app, when I run the app from the computer it's work properly, but when I published my app as Android (apk)  after using into mobile that time the iframe doesn't show anything ....

how can i solve this problem?

@asmat, you should avoid using absolute paths in your apps.
Use relative paths instead.
Take a look here for more information about it:
https://www.coffeecup.com/help/articles/absolute-vs-relative-pathslinks/

Regards.

I couldn't solve this problem, because it's a little different please if you have time make for me one sample for this also...

 

It's very similar to the image problem.
Take a look at the attached sample.

Uploaded files:
  • You need to login to have access to uploads.
Vadim and clueadventures have reacted to this post.
Vadimclueadventures

that's awesome thank you so much... I got it!

luishp has reacted to this post.
luishp

Hi how do you make the paths relative when you add files in the app properties?

Here I've used you example which has the file hello.html as a relative path, but whenever I try to add it will only create the long absolute path

 

 

Hi how do you make the paths relative when you add files in the app properties?

By default VisualNEO Web gets the complete path but if you use the Project > Archive/Backup option all the files will be copied to the new folder with relative paths.
Regards.