Reputation: 146
I have included the jquery css & jquery file, still tabs are not showing up.
Code
<link rel="stylesheet" href="css/jquery-ui-1.9.2.custom.css" type="text/css"></link>
<script type="text/javascript" src="js/jquery-ui-1.9.2.custom.js"></script>
<div id="tabs">
<ul>
<li><a href="#tabs1">he</a></li>
<li><a href="#tabs2">Web2</a></li>
<li><a href="#tabs3">Co3/a></li>
<li><a href="#tabs4">Imp</a></li>
</ul>
</div>
Upvotes: 0
Views: 362
Reputation: 11
You will need to add an extra block to actually trigger the conversion into a tab control:
<link rel="stylesheet" href="css/jquery-ui-1.9.2.custom.css" type="text/css"></link>
<script type="text/javascript" src="js/jquery-ui-1.9.2.custom.js"></script>
<div id="tabs">
<ul>
<li><a href="#tabs1">he</a></li>
<li><a href="#tabs2">Web2</a></li>
<li><a href="#tabs3">Co3/a></li>
<li><a href="#tabs4">Imp</a></li>
</ul>
</div>
<script type="text/javascript">
$('#tabs').tabs();
</script>
Without the additional script section, the div is never transformed into a tab control.
Upvotes: 1