3.0 beta 2

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
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...

Rodrigo
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.
Derek
November 12,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.