diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-87B333A2-FDA1-4BC3-8803-C5702C5869A1.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-87B333A2-FDA1-4BC3-8803-C5702C5869A1.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,31 @@ + + +setNavigationEnabled()

setNavigationEnabled()

+

Description:

+

The navigation mode in a widget can be toggled between a cursor and a tabbed navigation mode. By default, the browsing mode of a widget is set to use a cursor (pointer). The setNavigationEnabled method is used for changing the widget's navigation mode.

+

The argument navigationType is of Boolean type and can be set to true or false to toggle the navigation mode between the cursor mode and the tab mode respectively.

+

Syntax:

+
[void] window.widget.setNavigationEnabled(Boolean navigationMode) 
+

or

+
[void] widget.setNavigationEnabled(Boolean navigationMode)
+

Arguments:

+
    +
  • navigationMode:

    + +

    Set to true to enable the cursor navigation mode, and set to false to enable the tabbed navigation mode.

    + +
  • +
+

Return value:

+

This method does not return a value.

+

Remarks:

+

Tab navigation is only recommended for simple vertical navigation. Enable the tabbed navigation mode to disable the cursor pointer when using JavaScript to handle key events. For more information, see Navigating on screens.

+

Example code:

+
// Tab mode
+widget.setNavigationEnabled(false); 
+// Cursor mode
+widget.setNavigationEnabled(true);
+
\ No newline at end of file