-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquatro.html
59 lines (55 loc) · 1.37 KB
/
quatro.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
<!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="utf-8" />
<title>tutorial DIY slideshow</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script>
<script src="jquery.slideshow.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
//chama o plugin
$('#slideshow').slideshow();
});
</script>
<style type="text/css">
#slides{
list-style-type: none;
width: 200px;
overflow: hidden;
}
.slide{
width: 200px;
height: 200px;
border: 1px solid #000;
left: -200px;
position: absolute;
}
</style>
</head>
<body>
<div id="slideshow" >
<p>
<button id="slideanterior" class="slideshow-button" > ⟵ anterior </button>
<button id="slideproximo" class="slideshow-button" > próximo ⟶ </button>
</p>
<ul id="slides">
<li class="slide">
1
</li>
<li class="slide">
2
</li>
<li class="slide">
3
</li>
<li class="slide">
4
</li>
<li class="slide">
5
</li>
</ul>
</div><!-- fim slideshow -->
</body>
</html>