Skip to main content

Search and Top Navigation

#3913 closed bug (notabug)

Opened January 23, 2009 12:34AM UTC

Closed January 23, 2009 11:58AM UTC

Last modified October 11, 2012 09:15PM UTC

default selectedClass is 2 classes

Reported by: roywb Owned by:
Priority: minor Milestone:
Component: ui.core Version: 1.6rc5
Keywords: Cc:
Blocked by: Blocking:

Because defaults.selectedClass is now two classes instead of one you cannot set a css class on a <li> to choose the selected tab.

Attachments (0)
Change History (4)

Changed January 23, 2009 12:43AM UTC by roywb comment:1

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

Changed January 23, 2009 12:53AM UTC by roywb comment:2

Was supposed to be in ui.tabs

Changed January 23, 2009 11:58AM UTC by paul comment:3

resolution: → invalid
status: newclosed

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.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:4

milestone: TBD

Milestone TBD deleted