-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (76 loc) · 1.91 KB
/
index.html
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
<!DOCTYPE html>
<head>
<script src="http://codeorigin.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="js/jquery.tabMaker.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
</head>
<body>
<div class="containerTabs">
<ul class="headers">
<li class="header">
<h2>Section 1</h2>
</li>
<li class="header">
<h2>Section 2</h2>
</li>
<li class="header">
<h2>Section 3</h2>
</li>
</ul>
<div class="holders">
<div class="holder">
<p>Section 1 Content</p>
</div>
<div class="holder">
<p>Section 2 Content</p>
</div>
<div class="holder">
<p>Section 3 Content</p>
</div>
</div>
</div>
<div class="containerAccordeon">
<h2 class="accordionHeader">Section 1</h2>
<div class="accordionHolder">
<p>Section 1 Content</p>
</div>
<h2 class="accordionHeader">Section 2</h2>
<div class="accordionHolder">
<p>Section 2 Content</p>
</div>
<h2 class="accordionHeader">Section 3</h2>
<div class="accordionHolder">
<p>Section 3 Content</p>
</div>
</div>
<div class="containerAccordeon">
<h2 class="accordionHeader">Section 1</h2>
<div class="accordionHolder">
<p>Section 1 Content</p>
</div>
<h2 class="accordionHeader">Section 2</h2>
<div class="accordionHolder">
<p>Section 2 Content</p>
</div>
<h2 class="accordionHeader">Section 3</h2>
<div class="accordionHolder">
<p>Section 3 Content</p>
</div>
</div>
<script type="text/javascript">
$(function(){
$('.containerAccordeon').each(function(){
$(this).tabMaker({
'openElement': '0'
});
});
$('.containerTabs').tabMaker({
'openElement' : '0',
'orientaion' : 'horizontal',
'accordionHeader' : '.header',
'accordionHolder' : '.holder'
});
});
</script>
</body>
</html>