-
Notifications
You must be signed in to change notification settings - Fork 7
/
awsAccordion.html
67 lines (67 loc) · 2.46 KB
/
awsAccordion.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>awsAccordion</title>
<link rel="stylesheet" href="css/fonts/awesomeIconFonts/font-awesome.css" type="text/css">
<!--[if IE 7]>
<link rel="stylesheet" href="css/fonts/awesomeIconFonts/font-awesome-ie7.css" type="text/css">
<![endif]-->
<link rel="stylesheet" href="css/jquery.accordion.css" type="text/css">
</head>
<body>
<div id="accordion1">
<ul>
<li>
<h1>Hola</h1>
<div>
<span>Phasellus eget libero elit, a sodales felis. Morbi ligula tellus, posuere nec interdum ac, blandit et ante. Morbi nibh orci, eleifend vitae venenatis non, molestie in magna. Cras scelerisque risus eget odio interdum consequat.
</span>
</div>
</li>
<li>
<h1>Heading 2</h1>
<div>
<span>Phasellus eget libero elit, a sodales felis. Morbi ligula tellus, posuere nec interdum ac, blandit et ante. Morbi nibh orci, eleifend vitae venenatis non, molestie in magna. Cras scelerisque risus eget odio interdum consequat.
</span>
</div>
</li>
<li>
<h1>Heading 3</h1>
<div>
<span>Phasellus eget libero elit, a sodales felis. Morbi ligula tellus, posuere nec interdum ac, blandit et ante. Morbi nibh orci, eleifend vitae venenatis non, molestie in magna. Cras scelerisque risus eget odio interdum consequat.
</span>
</div>
</li>
<li>
<h1>Heading 4</h1>
<div>
<span>Phasellus eget libero elit, a sodales felis. Morbi ligula tellus, posuere nec interdum ac, blandit et ante. Morbi nibh orci, eleifend vitae venenatis non, molestie in magna. Cras scelerisque risus eget odio interdum consequat.
</span>
</div>
</li>
</ul>
</div>
<script src="jquery-1.8.2.min.js"></script>
<script src="jquery.accordion.js"></script>
<script>
$("#accordion1").awsAccordion({
type:"horizontal",
cssAttrsHor:{
ulWidth:"responsive",
liHeight:300,
liWidth:50
},
startSlide:2,
openCloseHelper:{
openIcon:"plus",
closeIcon:"minus"
},
openOnebyOne:true,
classTab:"small",
slideOn:"click",
autoPlay:true,
autoPlaySpeed:2000
})
</script>
</body>
</html>