Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Kamil_Micazook
Posts: 9
Registered: ‎11-24-2011
My Device: BlackBerry 9360, Blackberry 9810, Blackberry 9100

Multiple highlights on text fields

Hello,

 

On my registration page I have many text fields and 2 comboboxes (<select> elements). When user scrolls quickly between those elements using trackball (I am using focus-based navigation) then more than one element is highlighted. I set the x-blackberry-defaultHoverEffect flag to false and I am using css for highlighting the fields.

 

Here is the sample code of one of registration page elements:

<select class="focusable" id="registration_title" x-blackberry-focusable="true">
	<option value="-" selected>Title</option>
	<option value="Mr">Mr</option>
	<option value="Mrs">Mrs</option> 
	<option value="Ms">Ms</option>
	<option value="Miss">Miss</option>
	<option value="Dr">Dr</option>
	<option value="Prof">Prof</option>
</select>

 and here is css for adding the border when the field is selected:

 

.focusable:hover,
.focusable:focus
{
	border: 3px solid #DBB34D;	
}

 

Does anyone have similar problem or know how to solve this problem??

 

Best Regards
Kamil