stop links inside HTML box launching external window

This forum contains topics that were moved from Get Satisfaction
David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

stop links inside HTML box launching external window

Post 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?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

stop links inside HTML box launching external window

Post by Illya Stepanov »

Hi David -

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

David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

stop links inside HTML box launching external window

Post 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?)

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

stop links inside HTML box launching external window

Post 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.

David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

stop links inside HTML box launching external window

Post 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

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

stop links inside HTML box launching external window

Post by Evgene Karachevtsev »

Hello David,

Thank you for the update!

Post Reply