GodSpeed JP1
Posts: 0
Joined: Thu Feb 27, 2014 1:23 pm

How can I open links in HTML component with App Browser?

I have a HTML component.There are some links in html code.
html code just like:
some text,
< a href="http://link1.com" > LINK1 < /a >
some text
< a href="http://link2.com" > LINK2 < /a >

When I click the links ,I want to open them in App Browser.
How can I do that?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How can I open links in HTML component with App Browser?

Hello.

Please this solution:

pre
code

<a href="#" onclick="event&#46;preventDefault();window&#46;open('http:&#47;&#47;google&#46;com/');return false"> LINK1 </a>

/code
/pre

Regards.

Return to “Issues”