2012-05-08 18:40:45 +00:00
|
|
|
<!doctype html>
|
2009-07-18 18:33:16 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2012-05-08 18:40:45 +00:00
|
|
|
<meta charset="utf-8">
|
2009-07-18 18:33:16 +00:00
|
|
|
<title>Compound Visual Test : Accordion 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-02-05 13:47:59 +00:00
|
|
|
<script src="../../../jquery-1.9.1.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>
|
2009-07-18 18:33:16 +00:00
|
|
|
$(function() {
|
2012-05-08 18:40:45 +00:00
|
|
|
$( "#accordion-1, #accordion-2" ).accordion();
|
|
|
|
$( "#tabs" ).tabs();
|
2009-07-18 18:33:16 +00:00
|
|
|
});
|
|
|
|
</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="accordion-1">
|
2012-05-08 18:40:45 +00:00
|
|
|
<h3>Accordion Header 1</h3>
|
2009-07-18 18:33:16 +00:00
|
|
|
<div>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
</div>
|
2012-05-08 18:40:45 +00:00
|
|
|
<h3>Accordion Header 2</h3>
|
2009-07-18 18:33:16 +00:00
|
|
|
<div>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
</div>
|
2012-05-08 18:40:45 +00:00
|
|
|
<h3>Accordion Header 3</h3>
|
2009-07-18 18:33:16 +00:00
|
|
|
<div>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="tabs-2">
|
|
|
|
<div id="accordion-2">
|
2012-05-08 18:40:45 +00:00
|
|
|
<h3>Accordion Header 1</h3>
|
2009-07-18 18:33:16 +00:00
|
|
|
<div>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
<p>Accordion Content 1</p>
|
|
|
|
</div>
|
2012-05-08 18:40:45 +00:00
|
|
|
<h3>Accordion Header 2</h3>
|
2009-07-18 18:33:16 +00:00
|
|
|
<div>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
<p>Accordion Content 2</p>
|
|
|
|
</div>
|
2012-05-08 18:40:45 +00:00
|
|
|
<h3>Accordion Header 3</h3>
|
2009-07-18 18:33:16 +00:00
|
|
|
<div>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
<p>Accordion Content 3</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|