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
Trusted Contributor
Posts: 107
Registered: ‎07-26-2012
My Device: Blackberry Z10
My Carrier: airtel
Accepted Solution

bbUI.js & .css, can i change data-bb-type="item" title background ?

Hi forum,Iam using bbUI.js & .css (9.6) ,How to change image-list's item backround-color ?

is there any tag, which gives me this option ?



Try my HTML5 app CountDown (free)


Click Accept as Solution if this post that have solved your issue(s)!
Like if you found this post useful..
BlackBerry Development Advisor
Posts: 634
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: bbUI.js & .css, can i change data-bb-type="item" title background ?

I believe you can just add a style="background-color: #f00" property to the div?

Trusted Contributor
Posts: 107
Registered: ‎07-26-2012
My Device: Blackberry Z10
My Carrier: airtel

Re: bbUI.js & .css, can i change data-bb-type="item" title background ?

listItem.setAttribute('style', 'font-weight:bold;text-shadow: 3px 3px 2px rgba(150, 150, 150, 1);');

 

Worked... thanks for the hint.



Try my HTML5 app CountDown (free)


Click Accept as Solution if this post that have solved your issue(s)!
Like if you found this post useful..