Your selector is looking for a span
while your navi_menu
element is a div
. Also, don't use a selector inside the tabs method, JQuery-UI plugins expect a method name. Your JavaScript should be:
$("span.navi_menu").tabs();
And your HTML had some issues. You need to make sure you're structuring it very similar to how JQuery-UI tabs expects you to. That means wrapping your tabs in <li>
tags and wrapping those in a <ul>
tag. Follow the documentation here: http://api.jqueryui.com/tabs/
Here's a sample template with some of the HTML you've included, you should be able to reinsert your HTML from there: Demonstration