openURL()

Syntax:

[void] window.widget.openURL(String url) 

or

[void] widget.openURL(String url)

Description:

The openURL method opens a specified link in the Web Browser for S60 in the stand-alone mode. The widget remains open but is sent to the background.

Arguments:

Return value:

This method does not return a value.

Remarks:

The WRT environment does not enforce any restrictions on the URL scheme. Supported URL schemes and restrictions (if any) are applied by the Web Browser for S60.

Example code:

var url = "http://www.S60.com/browser";
widget.openURL(url);