-
Notifications
You must be signed in to change notification settings - Fork 0
/
SliderMain.html
204 lines (187 loc) · 11.3 KB
/
SliderMain.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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> </title>
</head>
<body style="padding:0px; margin:0px; font-family:Arial, Verdana;background-color:#fff;">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jssor.js"></script>
<script type="text/javascript" src="js/jssor.slider.js"></script>
<script>
jQuery(document).ready(function ($) {
var _CaptionTransitions = [];
_CaptionTransitions["L"] = { $Duration: 900, x: 0.6, $Easing: { $Left: $JssorEasing$.$EaseInOutSine }, $Opacity: 2 };
_CaptionTransitions["R"] = { $Duration: 900, x: -0.6, $Easing: { $Left: $JssorEasing$.$EaseInOutSine }, $Opacity: 2 };
_CaptionTransitions["T"] = { $Duration: 900, y: 0.6, $Easing: { $Top: $JssorEasing$.$EaseInOutSine }, $Opacity: 2 };
_CaptionTransitions["B"] = { $Duration: 900, y: -0.6, $Easing: { $Top: $JssorEasing$.$EaseInOutSine }, $Opacity: 2 };
_CaptionTransitions["ZMF|10"] = { $Duration: 900, $Zoom: 11, $Easing: { $Zoom: $JssorEasing$.$EaseOutQuad, $Opacity: $JssorEasing$.$EaseLinear }, $Opacity: 2 };
_CaptionTransitions["RTT|10"] = { $Duration: 900, $Zoom: 11, $Rotate: 1, $Easing: { $Zoom: $JssorEasing$.$EaseOutQuad, $Opacity: $JssorEasing$.$EaseLinear, $Rotate: $JssorEasing$.$EaseInExpo }, $Opacity: 2, $Round: { $Rotate: 0.8} };
_CaptionTransitions["RTT|2"] = { $Duration: 900, $Zoom: 3, $Rotate: 1, $Easing: { $Zoom: $JssorEasing$.$EaseInQuad, $Opacity: $JssorEasing$.$EaseLinear, $Rotate: $JssorEasing$.$EaseInQuad }, $Opacity: 2, $Round: { $Rotate: 0.5} };
_CaptionTransitions["RTTL|BR"] = { $Duration: 900, x: -0.6, y: -0.6, $Zoom: 11, $Rotate: 1, $Easing: { $Left: $JssorEasing$.$EaseInCubic, $Top: $JssorEasing$.$EaseInCubic, $Zoom: $JssorEasing$.$EaseInCubic, $Opacity: $JssorEasing$.$EaseLinear, $Rotate: $JssorEasing$.$EaseInCubic }, $Opacity: 2, $Round: { $Rotate: 0.8} };
_CaptionTransitions["CLIP|LR"] = { $Duration: 900, $Clip: 15, $Easing: { $Clip: $JssorEasing$.$EaseInOutCubic }, $Opacity: 2 };
_CaptionTransitions["MCLIP|L"] = { $Duration: 900, $Clip: 1, $Move: true, $Easing: { $Clip: $JssorEasing$.$EaseInOutCubic} };
_CaptionTransitions["MCLIP|R"] = { $Duration: 900, $Clip: 2, $Move: true, $Easing: { $Clip: $JssorEasing$.$EaseInOutCubic} };
var options = {
$FillMode: 2,
$AutoPlay: true,
$AutoPlayInterval: 4000,
$PauseOnHover: 1,
$ArrowKeyNavigation: true,
$SlideEasing: $JssorEasing$.$EaseOutQuint,
$SlideDuration: 800,
$MinDragOffsetToSlide: 20,
$SlideSpacing: 0,
$DisplayPieces: 1,
$ParkingPosition: 0,
$UISearchMode: 1,
$PlayOrientation: 1,
$DragOrientation: 1,
$CaptionSliderOptions: {
$Class: $JssorCaptionSlider$,
$CaptionTransitions: _CaptionTransitions,
$PlayInMode: 1,
$PlayOutMode: 3
},
$BulletNavigatorOptions: {
$Class: $JssorBulletNavigator$,
$ChanceToShow: 2,
$AutoCenter: 1,
$Steps: 1,
$Lanes: 1,
$SpacingX: 8,
$SpacingY: 8,
$Orientation: 1
},
$ArrowNavigatorOptions: {
$Class: $JssorArrowNavigator$,
$ChanceToShow: 1,
$AutoCenter: 2,
$Steps: 1
}
};
var jssor_slider1 = new $JssorSlider$("slider1_container", options);
function ScaleSlider() {
var bodyWidth = document.body.clientWidth;
if (bodyWidth)
jssor_slider1.$ScaleWidth(Math.min(bodyWidth, 1920));
else
window.setTimeout(ScaleSlider, 30);
}
ScaleSlider();
$(window).bind("load", ScaleSlider);
$(window).bind("resize", ScaleSlider);
$(window).bind("orientationchange", ScaleSlider);
});
</script>
<div id="slider1_container" style="position: relative; margin: 0 auto;
top: 0px; left: 0px; width: 1300px; height: 500px; overflow: hidden;">
<div u="loading" style="position: absolute; top: 0px; left: 0px;">
<div style="filter: alpha(opacity=70); opacity: 0.7; position: absolute; display: block;
top: 0px; left: 0px; width: 100%; height: 100%;">
</div>
<div style="position: absolute; display: block; background: url(../img/loading.gif) no-repeat center center;
top: 0px; left: 0px; width: 100%; height: 100%;">
</div>
</div>
<div u="slides" style="cursor: move; position: absolute; left: 0px; top: 0px; width: 1300px;
height: 450px; overflow: hidden;background-color:lightgreen;">
<div>
<img u="image" src="SliderImage/1.jpg" />
<div style="position: absolute; width: 400px; height: 120px; top: 30px; left: 730px; padding: 5px;
text-align: right; line-height: 60px; text-transform: uppercase; font-size: 50px;
color:red;">Touch Swipe Slider
</div>
<div style="position: absolute; width: 480px; height: 120px; top: 300px; left: 730px; padding: 5px;
text-align: right; line-height: 36px; font-size: 30px;
color: green;">
Build your slider with anything, includes image, content, text, html, photo, picture
</div>
</div>
<div>
<img u="image" src="SliderImage/2.png" />
<div style="position: absolute; width: 480px; height: 120px; top: 30px; left: 30px; padding: 5px;
text-align: left; line-height: 60px; text-transform: uppercase; font-size: 50px;
color: #FFFFFF;">Touch Swipe Slider
</div>
<div style="position: absolute; width: 480px; height: 120px; top: 300px; left: 30px; padding: 5px;
text-align: left; line-height: 36px; font-size: 30px;
color: #FFFFFF;">
Build your slider with anything, includes image, content, text, html, photo, picture
</div>
</div>
<div>
<img u="image" src="SliderImage/41.png" />
<div style="position: absolute; width: 480px; height: 120px; top: 30px; left: 30px; padding: 5px;
text-align: left; line-height: 60px; text-transform: uppercase; font-size: 50px;
color: #FFFFFF;">Touch Swipe Slider
</div>
<div style="position: absolute; width: 480px; height: 120px; top: 300px; left: 30px; padding: 5px;
text-align: left; line-height: 36px; font-size: 30px;
color: #FFFFFF;">
Build your slider with anything, includes image, content, text, html, photo, picture
</div>
</div>
<div>
<img u="image" src="SliderImage/3T.png" />
<div style="position: absolute; width: 480px; height: 120px; top: 30px; left: 30px; padding: 5px;
text-align: left; line-height: 60px; text-transform: uppercase; font-size: 50px;
color: #FFFFFF;">Touch Swipe Slider
</div>
<div style="position: absolute; width: 480px; height: 120px; top: 300px; left: 30px; padding: 5px;
text-align: left; line-height: 36px; font-size: 30px;
color: #FFFFFF;">
Build your slider with anything, includes image, content, text, html, photo, picture
</div>
</div>
</div>
<style>
.jssorb21 {
position: absolute;
}
.jssorb21 div, .jssorb21 div:hover, .jssorb21 .av {
position: absolute;
width: 19px;
height: 19px;
text-align: center;
line-height: 19px;
color: white;
font-size: 12px;
background: url(SliderImage/b21.png) no-repeat;
overflow: hidden;
cursor: pointer;
}
.jssorb21 div { background-position: -5px -5px; }
.jssorb21 div:hover, .jssorb21 .av:hover { background-position: -35px -5px; }
.jssorb21 .av { background-position: -65px -5px; }
.jssorb21 .dn, .jssorb21 .dn:hover { background-position: -95px -5px; }
</style>
<div u="navigator" class="jssorb21" style="bottom: 26px; right: 6px;">
<div u="prototype"></div>
</div>
<style>
.jssora21l, .jssora21r {
display: block;
position: absolute;
width: 55px;
height: 55px;
cursor: pointer;
background: url(SliderImage/a21.png) center center no-repeat;
overflow: hidden;
}
.jssora21l { background-position: -3px -33px; }
.jssora21r { background-position: -63px -33px; }
.jssora21l:hover { background-position: -123px -33px; }
.jssora21r:hover { background-position: -183px -33px; }
.jssora21l.jssora21ldn { background-position: -243px -33px; }
.jssora21r.jssora21rdn { background-position: -303px -33px; }
</style>
<span u="arrowleft" class="jssora21l" style="top: 123px; left: 8px;">
</span>
<span u="arrowright" class="jssora21r" style="top: 123px; right: 8px;">
</span>
<a style="display: none" href="http://www.howtogetlinux.in"> Get Linux </a>
</div>
</body>
</html>