First hello to everyone.
I'm trying to use the jQuery tabs with div elements inside the tabs. Currently I'm not getting this to work. The tabs containing div elements are empty.
I've created a test based on the simple tab example:
<div class="panes">
<div class="pages">First tab content. Tab contents are called "panes"</div>
<div class="pages">
<div class="dcontent">
<h1>Second tab content</h1>
<p>The content is empty</p>
</div>
</div>
<div class="pages">Third tab content</div>
</div>
<script>
$(function() {
$("ul.tabs").tabs("div.panes > div.pages");
});
</script>
Does someone know, how to work with div elements inside tabs?
I'm trying to use the jQuery tabs with div elements inside the tabs. Currently I'm not getting this to work. The tabs containing div elements are empty.
I've created a test based on the simple tab example:
<div class="panes">
<div class="pages">First tab content. Tab contents are called "panes"</div>
<div class="pages">
<div class="dcontent">
<h1>Second tab content</h1>
<p>The content is empty</p>
</div>
</div>
<div class="pages">Third tab content</div>
</div>
<script>
$(function() {
$("ul.tabs").tabs("div.panes > div.pages");
});
</script>
Does someone know, how to work with div elements inside tabs?