Add jQuery User Interface Classes to Theme Styles

These CSS classes are defined in a jQuery UI theme. If you’re using jQuery UI, you can add any of these classes to your objects to add the theme styles.









































































ClassUsed onDescription
ui-widgetOuter container of widgetMakes element look like a widget.
ui-widget-headerHeading elementApplies distinctive heading appearance.
ui-widget-contentWidgetApplies widget content style to element and children.
ui-state-defaultClickable elementsDisplays standard (unclicked) state.
ui-state-hoverClickable elementsDisplays hover state.
ui-state-focusClickable elementsDisplay focus state when element has keyboard focus.
ui-state-activeClickable elementsDisplay active state when mouse is clicked on element.
ui-state-highlightAny widget or elementSpecifies element is currently highlighted.
ui-state-errorAny widget or elementSpecifies an element will contain an error or warning
message.
ui-state-error textText elementAllows error highlighting without changing other elements
(mainly used in form validation).
ui-state-disabledAny widget or elementDemonstrates that widget is currently disabled.
ui-corner-all,class="code">

ui-corner-tl (etc)
Any widget or elementAdds current corner size to element. Specify specific corners
with tl, tr, bl, br, top, bottom, left, right.
ui-widget-shadowAny widgetApplies shadow effect to widget.








dummies

Source:http://www.dummies.com/how-to/content/add-jquery-user-interface-classes-to-theme-styles.html

No comments:

Post a Comment