×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    52

    WRT keypad navigation?

    Hi guys,

    How do you do keypad navigation for 3rd ed? By default i see the mouse pointer on my widget ... and that's ugly.

  2. #2
    Registered User
    Join Date
    Feb 2009
    Posts
    52

    Re: WRT keypad navigation?

    ok, I found the answer

    widget.setNavigationEnabled(false);


    but there's more problems ... how do you handle the navigational sequences? How do I allow DIV navigation instead of the link anchor tag? At the moment, it will only navigate when it's a link but when I have a list that are all in DIV blocks, it doesn't scroll because it's not selected. Coding for touch screen was a lot easier ... omg.

    And how do I scroll inside a DIV??
    Last edited by InYourDreamz; 2009-11-18 at 06:06. Reason: more questions

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: WRT keypad navigation?

    Hi InYourDreamz,

    as from my experience, key-based navigation only allow to move focus through A elements. So, the solution would be to convert your DIVs into A elements.

    As a tip: when converting a DIV into an A element, specify the 'display: block' CSS rule for it, since A elements display inline by default.

    Pit

  4. #4
    Registered User
    Join Date
    Feb 2009
    Posts
    52

    Re: WRT keypad navigation?

    Got it Jappit! What about the sequence of navigation? Sometimes it jumps around. For example ...

    Imagine 2 rows of links, the top one has 2 blocks left and right while the bottom has 4.

    _______________ _______________
    | | |
    | Link 1 | Link 2 |
    |_______________|_______________|
    | Link3 | Link4 | Link5 | Link6 |
    |_______|_______|_______|_______|

    Hope the cool ASCII diagram shows up correctly.

    It could navigate to Link1, Link2, Link3, Link6, but never Link4 and Link5. I've thought of using tabindex, but that doesn't make sense since keypress isn't tab

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Posts
    8

    Re: WRT keypad navigation?

    Hi all,

    Take a look on GuaranaUI Library.

    Guarana components has keypad navigation support by default.

    http://wiki.forum.nokia.com/index.ph..._for_Nokia_WRT

    -- Allan Bezerra

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2009
    Posts
    8

    Re: WRT keypad navigation?

    Hi,

    put it in your code:

    if (window.widget) {
    widget.setNavigationEnabled(false);
    }

    -- Allan Bezerra

Similar Threads

  1. Replies: 7
    Last Post: 2010-02-13, 22:46
  2. AtlasCT released a new mobile Navigation API
    By idop in forum News and Announcements
    Replies: 0
    Last Post: 2009-02-04, 14:03
  3. What is WRT 1.0, 1.1, 1.2 versions?
    By naroori in forum Symbian
    Replies: 2
    Last Post: 2008-12-24, 20:07
  4. Forum Nokia WRT Webinar Q&A (In Portuguese)
    By bill.volpe in forum Symbian
    Replies: 0
    Last Post: 2008-06-13, 16:35
  5. Navigation Panes for Series 60
    By rguia in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-02-24, 15:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •