-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
116 lines (102 loc) · 4.06 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>S3 Slider</title>
<link href="s3-slider.css" media="screen" rel="stylesheet" type="text/css" />
<link href="demo/page.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="main">
<div id="shadow">
<div id="content">
<div class="example">
<h2>What is it?</h2>
<p>
S3 Slider is a simple slideshow that displays images with their description.<br/>
This is an complete rewrite to make it smaller / simpler / more elegant.
</p>
<p>
It is simple to use, very small(~1kb for js+css) and elegant!
<a href="http://www.serie3.info/s3slider/demonstration.html">Demo(older version, new looks similar)</a> or <a href="http://rathershort.com">Live demo</a>
<br/><br/>
<a href="http://www.serie3.info/s3slider/index.php">Original license</a> is for free private/commercial use.
</p>
</div>
<div class="example">
<h2>Download</h2>
<p>Requires <a href="http://jquery.com">jQuery >= 1.3</a>.</p>
<p>
You need s3-slider.js and s3-slider.css
</p>
<p>Works in IE6 + the rest.</p>
</div>
<div class="example">
<h2>Demo</h2>
<p> Simple images with some misc text.</p>
<p> At the start IE6 will see an instant fade from blank->image0, if you do not like this make the first slide visible(display:block). </p>
<p> Naturally the timeout should never be smaller then 2 * fadeTime... </p>
<div id="slider">
<div class="slide first">
<img src="demo/1.jpg"/>
<span><b>A Tile is good</b><br/> Some text long or short text should be placed here to inform customers of your great products...</span>
</div>
<div class="slide">
<img src="demo/2.jpg"/>
<span> Another text long or short text should be placed here to inform customers of your great products, next slide has no text...</span>
</div>
<div class="slide">
<img src="demo/3.jpg"/>
<!--same as: <span> </span> -->
</div>
<div class="slide">
<img src="demo/4.jpg"/>
<span> Finally a short text...</span>
</div>
</div>
<div class="code">
<h3>The Code</h3>
<code><textarea>
<div id="slider">
<div class="slide first">
<img src="demo/1.jpg"/>
<span> <b>A Tile is good</b><br/>Some text long or short text should be placed here to inform customers of your great products...</span>
</div>
<div class="slide">
<img src="demo/2.jpg"/>
<span> Another text long or short text should be placed here to inform customers of your great products...</span>
</div>
<div class="slide">
<img src="demo/3.jpg"/>
<span><b>But titles are not necessary</b><br/> And even more text long or short text should be placed here to inform customers of your great products...</span>
</div>
<div class="slide">
<img src="demo/4.jpg"/>
<span> Finally a short text...</span>
</div>
</div>
<script>
jQuery(function($){
$('#slider').s3Slider({timeout:6000,fadeTime:1000});
});
</script>
</textarea></code>
</div>
</div>
</div>
</div>
<div id="footer">
This page layout and styles are taken from defunks facebox (<a href="http://github.com/defunkt/facebox/tree/master">original</a> / <a href="http://github.com/grosser/facebox/tree/master">my fork</a>)
<br/>
Demo pictures are taken from <a href="http://www.flickr.com/explore">Flickr - explore</a>.
</div>
</div>
<!-- yes, javascript should always be down here! -->
<script src="demo/jquery.js" type="text/javascript"></script>
<script src="s3-slider.js" type="text/javascript"></script>
<script>
jQuery(function($){
$('#slider').s3Slider({timeout:6000, fadeTime:1000});
});
</script>
</body>
</html>