-
Notifications
You must be signed in to change notification settings - Fork 3
/
example.html
executable file
·88 lines (83 loc) · 3.14 KB
/
example.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
85
86
87
88
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>simpleSlider jQuery Plugin</title>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<!-- IMPORTANT : must before the javascripts -->
<link href="stylesheets/simpleSlider.css" rel="stylesheet" type="text/css" media="screen" />
<link href="stylesheets/example.css" rel="stylesheet" type="text/css" media="screen" />
<link href="themes/simpleSlider.mordilion.css" rel="stylesheet" type="text/css" media="screen" />
<!-- /IMPORTANT : must before the javascripts -->
<script type="text/javascript" src="javascripts/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="javascripts/jquery.simpleSlider.js"></script>
<script type="text/javascript" src="javascripts/jquery.simpleSlider.effects.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#slider').simpleSlider({
width: 640,
height: 360
});
});
</script>
</head>
<body>
<h1>simpleSlider jQuery Plugin</h1>
<button onClick="$('#slider').simpleSlider().previous(); return false;">Previous</button>
<button onClick="$('#slider').simpleSlider().next(); return false;">Next</button>
<button onClick="$('#slider').simpleSlider().restart(); return false;">Restart</button>
<h2>Example</h2>
<div id="slider" class="theme-mordilion">
<ul>
<li>
<img src="images/example/borderlands.jpg" alt="Borderlands" />
<div>
<h3 style="margin-top: 0;">Borderlands</h3>
<p>
Nice to play!
</p>
<a href="http://www.borderlandsthegame.com/" target="_blank">website</a>
</div>
</li>
<li>
<img src="images/example/deusex3.jpg" alt="Deus Ex 3 - Human Revolution" />
<div>
<h3 style="margin-top: 0;">Deus Ex 3 - Human Revolution</h3>
<p>
I don't know how it is.
</p>
<a href="http://deusex.com/" target="_blank">website</a>
</div>
</li>
<li>
<img src="images/example/portal2.jpg" alt="Portal 2" />
<div>
<h3 style="margin-top: 0;">Portal 2</h3>
<p>
I want to see more!
</p>
<a href="http://www.thinkwithportals.com/" target="_blank">website</a>
</div>
</li>
<li>
<img src="images/example/teamfortress2.jpg" alt="Team Fortres 2" />
<div>
<h3 style="margin-top: 0;">Team Fortress 2</h3>
<p>
Realy good game!
</p>
<a href="http://www.teamfortress.com/" target="_blank">website</a>
</div>
</li>
</ul>
</div>
<h3>Usage</h3>
<pre>
$(document).ready(function () {
$("#slider").simpleSlider({
width: 640,
height: 360
});
});
</pre>
</body>
</html>