-
Notifications
You must be signed in to change notification settings - Fork 3
/
minievents.html
executable file
·143 lines (115 loc) · 4.7 KB
/
minievents.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>EQUINOX</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Slicebox - 3D Image Slider with Fallback" />
<meta name="keywords" content="jquery, css3, 3d, webkit, fallback, slider, css3, 3d transforms, slices, rotate, box, automatic" />
<meta name="author" content="Pedro Botelho for 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/slicebox.css" />
<link rel="stylesheet" type="text/css" href="css/custom.css" />
<script type="text/javascript" src="js/modernizr.custom.46884.js"></script>
</head>
<body>
<div class="container">
<!-- <div class="codrops-top clearfix">
<a href="http://tympanus.net/Development/AutomaticImageMontage/"><span>« Previous Demo: </span>Automatic Image Montage</a>
<span class="right">
<a target="_blank" href="http://www.flickr.com/photos/strupler/">Images by <strong>ND Strupler</strong></a>
<a href="http://tympanus.net/codrops/?p=5657"><strong>Back to the Codrops Article</strong></a>
</span>
</div> -->
<div class="wrapper">
<ul id="sb-slider" class="sb-slider">
<li>
<a href="#" target="_blank"><img width="1080px" height="600px" src="https://github.com/Equinox-IIIT-Lucknow/equinox/blob/main/src/img/codebyte.png?raw=true" alt="image1"/></a>
<div class="sb-description">
<h3>CODE BYTE</h3>
</div>
</li>
<li>
<a href="#" target="_blank"><img width="1080px" height="600px" src="https://github.com/Equinox-IIIT-Lucknow/equinox/blob/main/src/img/axelrod.png?raw=true" alt="image2"/></a>
<div class="sb-description">
<h3>AXEL LORD</h3>
</div>
</li>
<li>
<a href="#" target="_blank"><img width="1100px" height="600px" src="https://github.com/Equinox-IIIT-Lucknow/equinox/blob/main/src/img/codearena.png?raw=true" alt="image1"/></a>
<div class="sb-description">
<h3>CODE ARENEA</h3>
</div>
</li>
<li>
<a href="#" target="_blank"><img width="1100px" height="600px" src="https://github.com/Equinox-IIIT-Lucknow/equinox/blob/main/src/img/gaming.jpg?raw=true" alt="image1"/></a>
<div class="sb-description">
<h3>VALVORANT</h3>
</div>
</li>
<li>
<a href="#" target="_blank"><img width="1100px" height="600px" src="https://github.com/Equinox-IIIT-Lucknow/equinox/blob/main/src/img/iiitl-cup.png?raw=true" alt="image1"/></a>
<div class="sb-description">
<h3>IIITL CUP</h3>
</div>
</li>
<li>
<a href="#" target="_blank"><img width="1100px" height="600px" src="https://github.com/Equinox-IIIT-Lucknow/equinox/blob/main/src/img/think-about-coding.jpg?raw=true" alt="image1"/></a>
<div class="sb-description">
<h3>HELLO WORLD</h3>
</div>
</li>
<li>
<a href="#" target="_blank"><img width="1100px" height="600px" src="https://github.com/Equinox-IIIT-Lucknow/equinox/blob/main/src/img/freshers-cup.png?raw=true" alt="image1"/></a>
<div class="sb-description">
<h3>FRESHERS CUP</h3>
</div>
</li>
</ul>
<div id="shadow" class="shadow"></div>
<div id="nav-arrows" class="nav-arrows">
<a href="#">Next</a>
<a href="#">Previous</a>
</div>
</div><!-- /wrapper -->
<!-- <p class="info"><strong>Example 4:</strong> Same like example example 3, with a higher disperse factor</p> -->
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.slicebox.js"></script>
<script type="text/javascript">
$(function() {
var Page = (function() {
var $navArrows = $( '#nav-arrows' ).hide(),
$shadow = $( '#shadow' ).hide(),
slicebox = $( '#sb-slider' ).slicebox( {
onReady : function() {
$navArrows.show();
$shadow.show();
},
orientation : 'r',
cuboidsRandom : true,
disperseFactor : 30
} ),
init = function() {
initEvents();
},
initEvents = function() {
// add navigation events
$navArrows.children( ':first' ).on( 'click', function() {
slicebox.next();
return false;
} );
$navArrows.children( ':last' ).on( 'click', function() {
slicebox.previous();
return false;
} );
};
return { init : init };
})();
Page.init();
});
</script>
</body>
</html>