Hello All, I have a requirement of using a WebView to display the jsp pages from the server which uses JSTL. Here we have buttons in tabular form displayed using <table> tag and the first button needs to shown as selected with the CSS enabled for that selection. The buttons here are simple input type button with in an anchor tag to navigate to other pages
<a onmouseover="focusOnMouseOutOnHover(${status.index})" onmouseout="focusOnMouseOut('abc_0','btn');" id="abc_${status.index}" class="btn" href="abcd.jsp?cid=${abc.id}"><input type="button" name="abButton_${status.index}" value="${name}" title="$ {fn:escapeXml(abc.name)}" class="flex-btn"></a> but the problem is that on device the default focus is not always on the first button and after that the trackball scrolling is also not definite. It sometimes scrolls properly and sometimes does not scroll at all through all the elements in the page. We need the focus on the first button always when ever we navigate to the page either first time or through the back key. At present we are calling a javascript function on onLoad of the <body> to set the focus on the first button and then update the CSS class also to show it as focussed and selected. We have lots of CSS applied on the page to get the rich look of the Android client on these pages. Please let me know if there is some solution for this. Is it the problem of CSS being applied or WebView is not able to support the CSS? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en