Namespaces

Variants
Actions

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 over the next few weeks. Thanks for all your past and future contributions.

Revision as of 09:18, 24 June 2011 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to change Navigation Mode in WRT Widget

From Wiki
Jump to: navigation, search


Article Metadata
Tested with
Devices(s): Nokia N97
Compatibility
Platform(s): S60
Article
Keywords: setNavigationEnabled, Navigation Mode
Created: vasant21 (24 Jan 2010)
Last edited: hamishwillee (24 Jun 2011)

Overview

  • This code snippet below explains how one can change/toggle the Navigation Mode in Widget using window.widget.setNavigationEnabled(Boolean navigationMode) Api


Navigation Modes in Widget

Navigation mode WRT.jpg


  • In Cursor navigation, user controls the mouse pointer with the five way navigation pad.
  • Tab navigation is a special mode in S60 Web Runtime (WRT) widgets that turns off the mouse pointer, and enables users to navigate on screens and select controls using the five way navigation pad. The drawback of Tab navigation mode is that the WRT engine controls the tab order.
  • The default Navigation/Browsing mode in a widget is Cursor/Pointer mode.

enabling Tabbed Navigation

window.widget.setNavigationEnabled(false );


enabling Cursor Navigation

window.widget.setNavigationEnabled(true );
This page was last modified on 24 June 2011, at 09:18.
44 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×