-
Notifications
You must be signed in to change notification settings - Fork 12
/
minimal.html
100 lines (78 loc) · 3.67 KB
/
minimal.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
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>PlusSlider - Minimal Example</title>
<link rel="stylesheet" type="text/css" href="css/minimal.css" />
</head>
<body>
<div id="page-wrap">
<div id="content">
<h1>PlusSlider</h1>
<div id="slider" class="slider">
<div id="winning-slide" data-title="Flower" class="slide1 first">
<h2>PlusSlider</h2>
<p>
A content slider that simply works...<br />
The right way
</p>
</div>
<a data-title="Tree" href="#"><img src="images/tree.jpg" alt="" height="250" width="351" /></a>
<img data-title="Sunset" src="images/clouds.jpg" alt="" height="134" width="630" />
<img data-title="Stop Sign" src="images/image4.jpg" alt="" height="250" width="630" />
</div><!-- #slider -->
<br /><br />
<div id="slider2" class="slider">
<a href="#" class="first"><img src="images/image2.jpg" alt="" height="250" width="630" /></a>
<img src="images/image3.jpg" alt="" height="250" width="630" />
<img src="images/image4.jpg" alt="" height="250" width="630" />
</div> <!-- #slider2 -->
<br /><br />
<div id="slider3" class="slider">
<div data-title="Quote" class="quote first">
I do not fear death,<br />
in view of the fact that I had been dead<br />
for billions and billions of years<br />
before I was born, and had not suffered<br />
the slightest inconvenience from it.<br />
- Mark Twain
</div>
<div data-title="Quote2" class="quote2">
The difference between the right word<br />
and the almost right word is the difference<br />
between lightning and a lightning bug.<br />
- Mark Twain
</div>
<div data-title="Quote3" class="quote3">
Nature knows no indecencies;<br />
man invents them.<br />
- Mark Twain
</div>
</div> <!-- #slider3 -->
</div> <!-- #content -->
</div> <!-- #page-wrap -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type='text/javascript' src='js/jquery.easing.1.3.js'></script>
<script type='text/javascript' src='js/jquery.plusslider.js'></script>
<script type='text/javascript'>
$(document).ready(function(){
$('#slider').plusSlider({
autoPlay: false,
sliderEasing: 'easeInOutExpo', // Anything other than 'linear' and 'swing' requires the easing plugin
paginationPosition: 'append',
sliderType: 'slider' // Choose whether the carousel is a 'slider' or a 'fader'
});
$('#slider2').plusSlider({
autoPlay: false,
displayTime: 2000, // The amount of time the slide waits before automatically moving on to the next one. This requires 'autoPlay: true'
sliderType: 'fader' // Choose whether the carousel is a 'slider' or a 'fader'
});
$('#slider3').plusSlider({
sliderEasing: 'easeInOutExpo', // Anything other than 'linear' and 'swing' requires the easing plugin
autoPlay: false,
sliderType: 'slider' // Choose whether the carousel is a 'slider' or a 'fader'
});
});
</script>
</body>
</html>