What am I doing wrong with JQueryUI's tabs feature?
I feel really silly for asking this, but what am I doing wrong with http://www.wcarsucks.com? I followed t开发者_Python百科heir example exactly, no dice.
I'm assuming you are working from this demo and it looks like you just need to style your tabs, and to include the required css styles in your page.
<style>
.ui-tabs .ui-tabs-hide {
display: none;
}
</style>
aside from that, if you use something like FireBug and inspect your page, you will see that it appears to be working and applying the right css classes to elements.
Seems like your problem is that the stylesheet for jQuery UI isn't loaded. If you inspect the DOM elements after the page is loaded, you see that all the required classes for the tab interface has been added.
精彩评论