diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-EFCCE3CA-A1D2-4CD0-8D10-BD6320B19E5A.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-EFCCE3CA-A1D2-4CD0-8D10-BD6320B19E5A.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,28 @@ + + +openURL()

openURL()

+

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.

+

Syntax:

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

or

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

Arguments:

+
    +
  • url:

    + +

    A compact string specifying a link to a resource to be opened. The URL string format is compliant with the RFC-1738 specification and must be encoded if it contains non-ASCII characters.

    + +
  • +
+

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);
+
\ No newline at end of file