This is a migrated thread and some comments may be shown as answers.

Is it possible for a hyperlink to launch a browser?

3 Answers 31 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kjell
Top achievements
Rank 1
Kjell asked on 11 Feb 2014, 03:48 AM
In my app's help section there is a link to our company website, right now the link will open within the app webview which I think is the default behavior.  Is it possible for a link to instead launch a browser session?  The only thing I've tried is adding target=_blank to the <a> but that didn't have any impact. 

3 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 11 Feb 2014, 10:07 PM
onclick="window.plugins.childBrowser.showWebPage('http://....');"

enable the Child Browser integrated plugin, and add:: <script src="Plugins/Child Browser/childbrowser.js"></script>

ignore the path warning. AppBuilder denies the existence of that file even though it works perfectly fine.
0
Kjell
Top achievements
Rank 1
answered on 11 Feb 2014, 10:44 PM
Ah that was too easy, thanks Michael
0
Steve
Telerik team
answered on 12 Feb 2014, 08:50 AM
Hi Kjell,

Childbrowser is deprecated in Cordova 2.8, so you would not be able to use it in projects targeting later version of Cordova. For such projects, you should utilize the InAppBrowser core Cordova plugin.

Regards,
Steve
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Tags
General Discussion
Asked by
Kjell
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Kjell
Top achievements
Rank 1
Steve
Telerik team
Share this question
or