I have a wordpress site with jQueryUI tabs applied to two different elements of the same page. However, I want one of those elements themed and the other one not.
I tried using .removeClass(‘ui-widget’) but of course it removes the class after applying the jQueryUI, so it’s the same as doing nothing.
Another way of solving this could be apply the theme to only one tab, but I also don’t know how to do that.
Thanks in advance.
What do you mean with “Not themed”?jQuery UI tabs are always themed. If you want to differentiate the two different sets of tabs you coul apply your own custom _CSS that overrides your UI theme.
This is the markup created by tabs (taken from the docs)
Note: This is a sample of markup generated by the tabs plugin, not markup you should use to create a tabs. The only markup needed for that is
you can use the id of the element to style things.