forked from harshsingla/tankwarweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSliderImageV5.html
More file actions
113 lines (104 loc) · 1.99 KB
/
SliderImageV5.html
File metadata and controls
113 lines (104 loc) · 1.99 KB
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
<!DOCTYPE html>
<html>
<head>
<title>SliderImage</title>
<script type="text/javascript" src="mai.js"></script>
<style type="text/css">
body {
perspective: 1500px;
background-color: black;
overflow-x: hidden;
overflow-y: hidden;
}
img {
/*height: 533px;
width: 1082px;*/
height: 90%;
width: 90%;
transition: 1s;
box-shadow: 0px 0px 10px 5px black;
}
div {
width: 100%;
}
#L {
position: absolute;
z-index: 2;
top: 47.5%;
left: 97%;
font-size: 50px;
color: white;
background: transparent;
border-color: yellow;
border-radius: 10px;
font-family: cursive;
}
#R {
position: absolute;
z-index: 2;
top: 47.5%;
left: 0%;
font-size: 50px;
color: white;
background: transparent;
border-color: yellow;
border-radius: 10px;
font-family: cursive;
}
#hidden {
position: relative;
left: 1px;
z-index: -2;
opacity: 0.0;
}
#SI_img1 {
position: absolute;
left: 5%;
top: 5%;
z-index: -2;
transform: translateX(-900px) rotateY(90deg);
}
#SI_img2 {
position: absolute;
left: 5%;
top: 5%;
z-index: -1;
transform: translateX(-450px) rotateY(45deg);
}
#SI_img3 {
position: absolute;
left: 5%;
top: 5%;
z-index: 0;
}
#SI_img4 {
position: absolute;
left: 5%;
top: 5%;
z-index: -1;
transform: translateX(450px) rotateY(-45deg);
}
#SI_img5 {
position: absolute;
left: 5%;
top: 5%;
z-index: -2;
transform: translateX(900px) rotateY(-90deg);
}
</style>
</head>
<body onload="Init()">
<div>
<form>
<input type="button" name="clickMe" value=">" onclick="Slider(1)" id="L">
<input type="button" name="clickMe" value="<" onclick="Slider(-1)" id="R">
</form>
<img src="background.jpg" id="hidden">
<img src="SI_img1.jpg" id="SI_img1">
<img src="SI_img2.jpg" id="SI_img2">
<img src="SI_img3.jpg" id="SI_img3">
<img src="SI_img4.jpg" id="SI_img4">
<img src="SI_img5.jpg" id="SI_img5">
</div>
</body>
</html>