Page 1 of 2

Not clickable links within inappbrowser

Posted: Sun Jan 18, 2015 9:18 pm
by bal

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)


Not clickable links within inappbrowser

Posted: Mon Jan 19, 2015 4:24 pm
by Evgene Karachevtsev

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.


Not clickable links within inappbrowser

Posted: Fri Jan 23, 2015 6:30 am
by bal

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?


Not clickable links within inappbrowser

Posted: Sat Jan 24, 2015 12:21 am
by bal

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?


Not clickable links within inappbrowser

Posted: Tue Jan 27, 2015 6:11 pm
by Alena Prykhodko

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 ?


Not clickable links within inappbrowser

Posted: Tue Jan 27, 2015 9:21 pm
by bal

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?


Not clickable links within inappbrowser

Posted: Wed Jan 28, 2015 7:02 pm
by Ihor Didevych

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


Not clickable links within inappbrowser

Posted: Wed Jan 28, 2015 9:16 pm
by bal

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?


Not clickable links within inappbrowser

Posted: Fri Jan 30, 2015 5:19 pm
by Alena Prykhodko

Hello,

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


Not clickable links within inappbrowser

Posted: Sat Jan 31, 2015 7:10 pm
by bal

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?