#1 2016-02-24 15:03:27

datadon
Member
Registered: 2015-04-23
Posts: 108

Iframes and External URL

I am trying the sample app.  It has a couple local html files that are shown.  If I try put in a url in the Iframe url, it does not show it.  I found you need to remove the two local urls from the file manager.  Then when I run it it does not keep showing the local urls.  However the debugger mode will not show the external url either.   If I select to show in another window it pops up a window that will show it.

Any comments on this behavior?

Request for when you can, can you add an external url to your sample.

Thanks

Offline

#2 2016-02-24 19:09:26

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Iframes and External URL

Hello Donald,

About the IFrames sample, I am sorry, but can't reproduce the problem here. The sample works as expected. The HTML files must be included into the application (using the file's manager) since they are required later in runtime. Are you get some error or something? Can you start from scratch with the sample?

On the other hand, update your App Builder copy: a new Google Maps application sample is included in the current release.

dBAmMxl.png

Offline

#3 2016-02-24 19:14:17

datadon
Member
Registered: 2015-04-23
Posts: 108

Re: Iframes and External URL

I don't think we meshed up on the question.  The sample for the Iframe worked fine.  But it only used local html files.  I was trying to change them to use http:\\google.com  but got problems when doing that.  I will check out the new sample and see if that clarifies things for me.  That is a great sample app.

Offline

#4 2016-02-24 19:16:50

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Iframes and External URL

Hello Donald,

The remote server must allow their usage in an IFrame control. Not all sites allow us that. The Google Maps Embed API, for example, allow us to do that and application's local files too.

Offline

#5 2016-02-24 21:44:24

datadon
Member
Registered: 2015-04-23
Posts: 108

Re: Iframes and External URL

Ahhhhh

Offline

#6 2016-02-24 21:56:46

datadon
Member
Registered: 2015-04-23
Posts: 108

Re: Iframes and External URL

FYI

Your Google Map Sample is a great one.  I did notice however that it does not show up in the sample list but is in fact in the sample folder. I'm guessing you create the list manually or maybe from an array,,,hahhahhaha

Don

Offline

#7 2016-02-24 22:55:47

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Iframes and External URL

Hello Donald,

Thanks for the advise. It's my mistake. The sample list is constructed based in the app's "design comment" and I forget that for the Google Maps sample... as quickly as possible I will fix that mistake and therefore the sample appear into the list as expected. Thanks again for your advise. smile

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.