Namespaces
Variants
Actions

How to change Navigation Mode in WRT Widget

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 12:18.
84 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved