Is it possible to make the colors of the tabs different colors? For example, I have one tabbar with 3 tabs, I would like to make 1 of the tabs red and 2 green. Do I need to (somehow) create a class for the tabs and assign a CSS style to them? If so, is there an example? I am going to look now, just heading on vaca in 1 hr and was asked to do this before I leave!
You may try to use the following approach:
- to set ids for tab containers:
var tabId = “t1”
tabbar._tabs[tabId].setAttribute(“id”,tabId);
- define css for these containers:
Did the suggestion work? I need to set the color of each tab within a tab container as well. Please let me know.
Yes, works for skins without background images (“default” for example)