Page 1 of 1

stop links inside HTML box launching external window

Posted: Fri Mar 13, 2015 7:01 am
by David wyatt

Hi
I've created a RSS feed app that pulls the feed into a HTML component. The issue I have is any links from the feed inside the HTML component launch an external bowser. I then can't get back to my app (except on the android version but when I use the os back button the back button in my header disappears). Is there a way to force any links to load in the HTML component?


stop links inside HTML box launching external window

Posted: Fri Mar 13, 2015 3:22 pm
by Illya Stepanov

Hi David -

This is only possible on the device using InAppBrowser API as shown here - http://devcenter.appery.io/tutorials/...


stop links inside HTML box launching external window

Posted: Sun Mar 15, 2015 9:32 am
by David wyatt

Unfortunately the code is from a service so i cant edit it. is there anyway to set the component to so that no links work (turn off the browser so that the links cant do anything?)


stop links inside HTML box launching external window

Posted: Sun Mar 15, 2015 6:39 pm
by Alena Prykhodko

Hi David,

I'm not familiar with such possibility.
Appery.io supports jQuery Mobile, HTML5, JavaScript, CSS and PhoneGap, so if this can be done by means of these technologies this defenitely can be done with our platform.


stop links inside HTML box launching external window

Posted: Fri May 29, 2015 5:15 pm
by David wyatt

Just in case anyone else has this issue Ive found a solution using css.

the following code

.someClass {
pointer-events: none;
}

So in my case I was able to stop links in a html component from opening which were taking over the entire app, hiding headers,footers, etc


stop links inside HTML box launching external window

Posted: Fri May 29, 2015 6:13 pm
by Evgene Karachevtsev

Hello David,

Thank you for the update!