aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/compound/accordion_tabs.html
blob: 98afc32e7184a65ebdcd1bae1a79006bc2d60e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Compound Visual Test : Accordion in Tabs</title>
	<link rel="stylesheet" href="../visual.css" type="text/css" />
	<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css">
	<script type="text/javascript" src="../../../jquery-1.6.4.js"></script>
	<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../../../ui/jquery.ui.accordion.js"></script>
	<script type="text/javascript" src="../../../ui/jquery.ui.tabs.js"></script>
	<script type="text/javascript">
	$(function() {
		$('#tabs').tabs();
		$('#accordion-1, #accordion-2').accordion();
	});
	</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">
			<h3><a href="#">Accordion Header 1</a></h3>
			<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>
			<h3><a href="#">Accordion Header 2</a></h3>
			<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>
			<h3><a href="#">Accordion Header 3</a></h3>
			<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">
			<h3><a href="#">Accordion Header 1</a></h3>
			<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>
			<h3><a href="#">Accordion Header 2</a></h3>
			<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>
			<h3><a href="#">Accordion Header 3</a></h3>
			<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>