This page was last modified 20:30, 6 March 2008.
How-to use links and launch the browser from a WRT widget
From Forum Nokia Wiki
Compatibility: Web Runtime in S60 3rd Edition, Feature Pack 2
How to use links in S60 WRT Widgets
Best way to use links within S60 WRT widgets is
<a onclick="javascript:widget.openURL(http://www.my-site.com")>Open My Site</a>
instead of
<a href="http://www.my-site.com">Open My Site</a>The issue with the link is that if a widget's content contains a link to open an URI from the Internet, the new HTML page will be loaded to replace the widget's main HTML page. After this, there is no way to get back to the widget main page. In other words, this means that open a new HTML page within a widget with a normal tag such as
<a href="http://www.yahoo.com">Open Yahoo</a>will decrease the end user experience of widgets.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NMBS 4.0 crashes | kapouer | General Browsing | 0 | 2004-02-12 05:14 |
| Browser Control - Video is not playing | sammu_ece | Symbian User Interface | 7 | 2008-05-06 13:44 |
| How to launch IE in my App | zhangwei_Nirvana | General Symbian C++ | 2 | 2007-10-16 18:12 |
| How to close a Widget programmatically? | jappit | Widgets and Widsets | 2 | 2008-04-16 16:02 |
| Trapping KUriUtilsErrInvalidUri in a background application | Sohil | General Symbian C++ | 0 | 2007-02-01 06:54 |
