:: Forum >>

How to change CSS of selected tab item

obj.setClass() can set the CSS. But it's applied to all tabs.

How can I change the CSS of a particular tab when the user click on it ?
Derek
Sunday, November 5, 2006
why don't you try changing the object's id on the onClick event...and setting on the css other properties to the "new" id....

Just an idea...please reply to the forum if sucessful...

Rodrigo
Tuesday, November 7, 2006
Use .aw-items-selected class which is added to the selected (current) tab.

.aw-items-selected {
    color: red;
    font-style: italic;
}


Use images if you want changing the background in xp and aqua themes.
Alex (ActiveWidgets)
Tuesday, November 7, 2006
Thanks, both solutions work.
Derek
Sunday, November 12, 2006

This topic is archived.


Back to support forum

Forum search