jquery-ui/tests/visual/compound/tabs_tabs.html

74 lines
1.7 KiB
HTML
Raw Normal View History

2012-05-08 18:40:45 +00:00
<!doctype html>
<html lang="en">
<head>
2012-05-08 18:40:45 +00:00
<meta charset="utf-8">
2009-07-18 18:35:30 +00:00
<title>Compound Visual Test : Tabs in Tabs</title>
2012-05-08 18:40:45 +00:00
<link rel="stylesheet" href="../visual.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css">
2013-01-17 06:28:41 +00:00
<script src="../../../jquery-1.9.0.js"></script>
2012-05-08 18:40:45 +00:00
<script src="../../../ui/jquery.ui.core.js"></script>
<script src="../../../ui/jquery.ui.widget.js"></script>
<script src="../../../ui/jquery.ui.accordion.js"></script>
<script src="../../../ui/jquery.ui.tabs.js"></script>
<script>
$(function() {
2012-05-08 18:40:45 +00:00
$( "#tabs, #tabs-a, #tabs-b" ).tabs();
});
</script>
</head>
<body>
<div id="tabs">
<ul>
<li><a href="#tabs-1">First</a></li>
<li><a href="#tabs-2">Second</a></li>
</ul>
<div id="tabs-1">
<div id="tabs-a">
<ul>
<li><a href="#tabs-a-1">First</a></li>
<li><a href="#tabs-a-2">Second</a></li>
</ul>
<div id="tabs-a-1">
<p>nested tabs a-1</p>
<p>nested tabs a-1</p>
<p>nested tabs a-1</p>
<p>nested tabs a-1</p>
<p>nested tabs a-1</p>
</div>
<div id="tabs-a-2">
<p>nested tabs a-2</p>
<p>nested tabs a-2</p>
<p>nested tabs a-2</p>
<p>nested tabs a-2</p>
<p>nested tabs a-2</p>
</div>
</div>
</div>
<div id="tabs-2">
<div id="tabs-b">
<ul>
<li><a href="#tabs-b-1">First</a></li>
<li><a href="#tabs-b-2">Second</a></li>
</ul>
<div id="tabs-b-1">
<p>nested tabs b-1</p>
<p>nested tabs b-1</p>
<p>nested tabs b-1</p>
<p>nested tabs b-1</p>
<p>nested tabs b-1</p>
</div>
<div id="tabs-b-2">
<p>nested tabs b-2</p>
<p>nested tabs b-2</p>
<p>nested tabs b-2</p>
<p>nested tabs b-2</p>
<p>nested tabs b-2</p>
</div>
</div>
</div>
</div>
</body>
</html>