Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.
How to open a URL in widget and avoid the bug of widget.openURL
Compatibility: Web Runtime in S60 3rd Edition, Feature Pack 2
How to open a URL? It's recommended to use this one: widget.openURL(url); But it showed error message and couldn't work for the widget.openURL(url).
In a href tag, use this would be worked:
<div ><a href="http://www.ParentShack.com">ParentShack.com</a></div>
If you want to open a new url, it would be worked to use 'window.open(url, "NewWindow")' ? No. You should use this one:
And don't forget to use menu.clear() to clear the menu before open a URL.