#3913 closed bug (notabug)
default selectedClass is 2 classes
Reported by: | roywb | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.core | Version: | 1.6rc5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Because defaults.selectedClass is now two classes instead of one you cannot set a css class on a <li> to choose the selected tab.
Change History (4)
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is a design decision. Having two selected classes look different is very easy if you use CSS scopes. Simply give your tab container a certain different class for each and then use CSS accordingly to match the ui-tab-selected class.
Note: See
TracTickets for help on using
tickets.
I notice that this has been fixed in rev 1756 (probably in earlier revision) but the classes are now hard-coded which is a real pain if you need to have tabs with tow different looks on the same page.
In rc2 you could override the class names to have different styling for more than one set of classes. Could we get a prefix to change the standard classes