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 ?
November 5,
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...

November 7,
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)
November 7,
Thanks, both solutions work.
November 12,

This topic is archived.

See also:

Back to support forum