12-21-2011 11:35 AM
Hi, I'm doing an application using jQuery Mobile, but I have trouble with focus-based navigation. I use multi-page ( http://jquerymobile.com/demos/1.0/docs/pages/multi
Writing directly the focusable option in the element
<a href="#two" data-role="button" x-blackberry-focusable="true">
Writing the focusable option in a external div
<div x-blackberry-focusable="true"><p><a href="#two" data-role="button">Show page "two"</a></p></div>
<div id="elementToFocus"><p><a href="#two" data-role="button" onclick="handleFocus();">Show page "two"</a></p></div>
but none of them work. When I change between pages focus is lost (in OS 5, 6 and 7), although without focus-based navigation works. Any ideas???
01-02-2012 12:42 AM
As an alternative to jQuery mobile, you should check out bbUI, a framework built to work across all smartphone OS5+.
Its super simple to implement and will most likely solve your issues with navigation based focus.
01-03-2012 03:09 PM
You could try patching your SDK and seeing if the new navmode makes any difference.