-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
81 lines (76 loc) · 3.51 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<title>CubeSlider - 3D Image Slider</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="Cubeslider - 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="Alban Xhaferllari" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/classic/cubeslider.css" />
</head>
<body>
<div class="container">
<h1>CubeSlider <span>A 3D image slider (best view in Chrome and Safari)</span></h1>
<div class="line"></div>
<div class="more">
<ul>
<li>Live Examples:</li>
<li class="selected"><a href="index.html">Horizontal cubes</a></li>
<li><a href="index2.html">Single Cube</a></li>
<li><a href="index3.html">Vertical cubes and Link faces</a></li>
<li><a href="index4.html">Syncro Animatin with spread</a></li>
<li><a href="index5.html">10 Vertical cubes</a></li>
<li><a href="index6.html">Multicubes</a></li>
<li><a href="index7.html">Fallback mode (forced)</a></li>
</ul>
</div>
<div style="margin:0 auto;max-width: 700px;">
<div id="cs-slider">
<a href="http://www.albanx.com/" target="_blank" title="3d Abstract from Codecanyon">
<img src="images2/1.jpg" />
</a>
<a href="http://www.google.com/" target="_blank">
<img src="images2/2.jpg" title="Evanto Marketplace"/>
<span class="cs-title">
Evanto Marketplace
</span>
</a>
<img src="images2/3.jpg" title="Cube Slider dsad asd asdasd asd asd asd asd asd asd asd asd asd asd asd asd asd "/>
<img src="images2/4.jpg" title="The css3 slider"/>
<img src="images2/5.jpg" title="Great fallback for IE"/>
<img src="images2/6.jpg" title="Fast and simple"/>
<img src="images2/7.jpg" title="Images from codecanyon"/>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/cubeslider.js?asd"></script>
<script type="text/javascript">
$('#cs-slider').cubeslider({
cubesNum: {rows:1, cols:4},
orientation: 'v',
spreadPixel :20,
cubeSync :100,
perspective: 600,
autoplay: false,
mode3d: true,
random: false, // if true then the cubes number is going to be random at any slide, and max random values will be the cubesNum settings
spreadPixel: 0, // each cube will move x pixels left and top when rotating
backfacesColor: '#222', // set the color of backfaces of the cube
animationSpeed: 800, // set the animation speed of the single cubes
easing: 'ease', // easing for css3 browsers
fallbackEasing: 'easeOutExpo', // fallback easing for non css3 browsers
autoplayInterval : 2000, // switch image interval in autoplay
arrows: true, // if true shows the left, right arrows
navigation: true, // if true show the navigation bullets
addShadow: true,
play: true, // if true show the play/pause button
titleSpeed: 300, // the animate show speed of the title in ms
titleEasing: 'easeOutExpo' //the title easing animation
});
</script>
</body>
</html>