Page 1 of 1

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

Posted: Sat May 03, 2014 4:54 pm
by GodSpeed JP1

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?


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

Posted: Sun May 04, 2014 2:48 am
by Yurii Orishchuk

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.