forked from codrops/AnimatedResponsiveImageGrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index3.html
executable file
·158 lines (147 loc) · 6.77 KB
/
index3.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Animated Responsive Image Grid</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Animated Responsive Image Grid - Cycling through a set of images in a responsive grid." />
<meta name="keywords" content="grid, images, thumbnails, responsive, css3, jquery, javascript, random, transition, 3d, perspective" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript" src="js/modernizr.custom.26633.js"></script>
<noscript>
<link rel="stylesheet" type="text/css" href="css/fallback.css" />
</noscript>
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="css/fallback.css" />
<![endif]-->
</head>
<body>
<div class="container">
<!-- Codrops top bar -->
<div class="codrops-top">
<a href="http://tympanus.net/Tutorials/PhotoBoothStripsLightbox/">
<strong>« Previous Demo: </strong>Photo Booth Strips with Lightbox
</a>
<span class="right">
<a href="http://www.flickr.com/people/smanography/">Images by Sherman Geronimo-Tan</a>
<a href="http://tympanus.net/codrops/2012/08/02/animated-responsive-image-grid/">
<strong>Back to the Codrops Article</strong>
</a>
</span>
<div class="clr"></div>
</div><!--/ Codrops top bar -->
<section class="main">
<div id="ri-grid" class="ri-grid ri-grid-size-3">
<img class="ri-loading-image" src="images/loading.gif"/>
<ul>
<li><a href="#"><img src="images/medium/1.jpg"/></a></li>
<li><a href="#"><img src="images/medium/2.jpg"/></a></li>
<li><a href="#"><img src="images/medium/3.jpg"/></a></li>
<li><a href="#"><img src="images/medium/4.jpg"/></a></li>
<li><a href="#"><img src="images/medium/5.jpg"/></a></li>
<li><a href="#"><img src="images/medium/6.jpg"/></a></li>
<li><a href="#"><img src="images/medium/7.jpg"/></a></li>
<li><a href="#"><img src="images/medium/8.jpg"/></a></li>
<li><a href="#"><img src="images/medium/9.jpg"/></a></li>
<li><a href="#"><img src="images/medium/10.jpg"/></a></li>
<li><a href="#"><img src="images/medium/11.jpg"/></a></li>
<li><a href="#"><img src="images/medium/12.jpg"/></a></li>
<li><a href="#"><img src="images/medium/13.jpg"/></a></li>
<li><a href="#"><img src="images/medium/14.jpg"/></a></li>
<li><a href="#"><img src="images/medium/15.jpg"/></a></li>
<li><a href="#"><img src="images/medium/16.jpg"/></a></li>
<li><a href="#"><img src="images/medium/17.jpg"/></a></li>
<li><a href="#"><img src="images/medium/18.jpg"/></a></li>
<li><a href="#"><img src="images/medium/19.jpg"/></a></li>
<li><a href="#"><img src="images/medium/20.jpg"/></a></li>
<li><a href="#"><img src="images/medium/21.jpg"/></a></li>
<li><a href="#"><img src="images/medium/22.jpg"/></a></li>
<li><a href="#"><img src="images/medium/23.jpg"/></a></li>
<li><a href="#"><img src="images/medium/24.jpg"/></a></li>
<li><a href="#"><img src="images/medium/25.jpg"/></a></li>
<li><a href="#"><img src="images/medium/26.jpg"/></a></li>
<li><a href="#"><img src="images/medium/27.jpg"/></a></li>
<li><a href="#"><img src="images/medium/28.jpg"/></a></li>
<li><a href="#"><img src="images/medium/29.jpg"/></a></li>
<li><a href="#"><img src="images/medium/30.jpg"/></a></li>
<li><a href="#"><img src="images/medium/31.jpg"/></a></li>
<li><a href="#"><img src="images/medium/32.jpg"/></a></li>
<li><a href="#"><img src="images/medium/33.jpg"/></a></li>
<li><a href="#"><img src="images/medium/34.jpg"/></a></li>
<li><a href="#"><img src="images/medium/35.jpg"/></a></li>
<li><a href="#"><img src="images/medium/36.jpg"/></a></li>
<li><a href="#"><img src="images/medium/37.jpg"/></a></li>
<li><a href="#"><img src="images/medium/38.jpg"/></a></li>
<li><a href="#"><img src="images/medium/39.jpg"/></a></li>
<li><a href="#"><img src="images/medium/40.jpg"/></a></li>
<li><a href="#"><img src="images/medium/41.jpg"/></a></li>
<li><a href="#"><img src="images/medium/42.jpg"/></a></li>
<li><a href="#"><img src="images/medium/43.jpg"/></a></li>
<li><a href="#"><img src="images/medium/44.jpg"/></a></li>
<li><a href="#"><img src="images/medium/45.jpg"/></a></li>
<li><a href="#"><img src="images/medium/46.jpg"/></a></li>
<li><a href="#"><img src="images/medium/47.jpg"/></a></li>
<li><a href="#"><img src="images/medium/48.jpg"/></a></li>
<li><a href="#"><img src="images/medium/49.jpg"/></a></li>
<li><a href="#"><img src="images/medium/50.jpg"/></a></li>
<li><a href="#"><img src="images/medium/51.jpg"/></a></li>
<li><a href="#"><img src="images/medium/52.jpg"/></a></li>
<li><a href="#"><img src="images/medium/53.jpg"/></a></li>
<li><a href="#"><img src="images/medium/54.jpg"/></a></li>
</ul>
</div>
<header class="codrops-header-special">
<h1>Animated Responsive Image Grid</h1>
<br>
<h2>Cycling through a set of images in a responsive grid.</h2>
<nav class="codrops-demos">
<a href="index.html">Demo 1</a>
<a href="index2.html">Demo 2</a>
<a class="current-demo" href="index3.html">Demo 3</a>
<a href="index4.html">Demo 4</a>
<a href="index5.html">Demo 5</a>
<a href="index6.html">Demo 6</a>
<a href="index7.html">Demo 7</a>
</nav>
<p class="codrops-info"><strong>Demo 3:</strong> Random animations / 100% container width / max. 2 images switch at a time / 2s between switching</p>
</header>
</section>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.gridrotator.js"></script>
<script type="text/javascript">
$(function() {
$( '#ri-grid' ).gridrotator( {
rows : 4,
columns : 8,
maxStep : 2,
interval : 2000,
w1024 : {
rows : 5,
columns : 6
},
w768 : {
rows : 5,
columns : 5
},
w480 : {
rows : 6,
columns : 4
},
w320 : {
rows : 7,
columns : 4
},
w240 : {
rows : 7,
columns : 3
},
} );
});
</script>
</body>
</html>