bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Not clickable links within inappbrowser

I have some links on a page, for example tel:12345. If i open the page seperately (window.open with _system option) then i can click on the links, but i dont want to open a seperate explorer. When working with an iframe then again, the links are not clickable. How can i open a website with my own header (without location/address bar) and click on the links within the website (for example tel:12345)

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Not clickable links within inappbrowser

Hello Bal,

Sorry for delay. Unfortunately it looks like that the only way is to modify inappbrowser plugin (http://stackoverflow.com/questions/20...) or look for some other instead of it.

bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Not clickable links within inappbrowser

I have tried with the default inappbrowser earlier. Then again, the links are not clickable. Do you have a working example? Where do i need to put the insertCSS?

bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Not clickable links within inappbrowser

I have tried with a frame and:

sandbox="allow-same-origin allow-scripts allow-popups allow-forms"

Also then not clickable. How can i add the header with CSS and inappbrowser?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Not clickable links within inappbrowser

Hello,

[quote:]Do you have a working example?[/quote]

Working example do you mean?

[quote:]Where do i need to put the insertCSS?[/quote]

Internal links work without any CSS. All that makes it navigate to different places is JavaScript code or link short code which is predefined before app is being build as apk or ipa.
If you want to navigate to the same page change next variable with use of js
codewindow.location.href/code
How to change it you can find online, in stackovreflow, for instance.

[quote:]website with my own header[/quote]
Each page in Appery.io project has a header, please specify what header you are talking about ?

bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Not clickable links within inappbrowser

Hi Alena,
I need to put a mobileheader like in appery. Working with iframe is not possible, due security issues. For example it is not possible to put google docs viewer to view a PDF inside an iframe within Appery.

I have tried with the inappbrowser.loadstop.executescript. But here it puts the header after the page has been loaded. And when zooming, the mobileheader tab will also zoom. Do i need to use the loadstart event for inappbrowser. Can we give a header with the loadstart?

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Not clickable links within inappbrowser

Hello,

1) We can't help you if you are using inappbrowser only
2) All pages in Appery.io projects have headers by default
3) You can set an iframe on the page using Appery.io, but to intercommunicate parent page with child iframe-page you should send messages

bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Not clickable links within inappbrowser

Hi thor,

Im using appery, and want to embed the google docs viewer inside appery (with a mobileheader). It is not possible to to that. I have tried several ways...

How to achieve this?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Not clickable links within inappbrowser

Hello,

Making it inside the header bad idea, place it in the mobilecontainer, where the main content of the app should be.

bal
Posts: 0
Joined: Sat Nov 22, 2014 8:04 pm

Not clickable links within inappbrowser

Hi Alena,

You have misunderstood me, what i want is: A mobileheader on top of the page. And the google docs viewer in the mobile container.

How to realize this?

Return to “Issues”