File "simple-slider.html"
Full path: E:/sites/Single15/tinmung2007/webroot/XAMMP/htdocs/WEB-Than-Huu-Hai-Ngoai/SliderShow/jssor.slider.devpack/examples-jquery/simple-slider.html
File size: 2.22 KiB (2276 bytes)
MIME-type:
Charset: utf-8
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Simple Slider Example - Jssor Slider</title>
</head>
<body style="font-family:Arial, Verdana;background-color:#fff;">
<!-- Jssor Slider Begin -->
<script type="text/javascript" src="../js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="../js/jssor.slider.min.js"></script>
<script>
jQuery(document).ready(function ($) {
var options = {
$AutoPlay: 1, //[Optional] Auto play or not, to enable slideshow, this option must be set to greater than 0. Default value is 0. 0: no auto play, 1: continuously, 2: stop at last slide, 4: stop on click, 8: stop on user navigation (by arrow/bullet/thumbnail/drag/arrow key navigation)
$DragOrientation: 1 //[Optional] Orientation to drag slide, 0 no drag, 1 horizental, 2 vertical, 3 either, default value is 1 (Note that the $DragOrientation should be the same as $PlayOrientation when $Cols is greater than 1, or parking position is not 0)
};
var jssor_slider1 = new $JssorSlider$('slider1_container', options);
});
</script>
<div id="slider1_container" style="position: relative; top: 0px; left: 0px; width: 600px;
height: 300px;">
<!-- Slides Container -->
<div data-u="slides" style="position: absolute; left: 0px; top: 0px; width: 600px; height: 300px; overflow: hidden;">
<div><img data-u="image" src="../img/gallery/980x380/001.jpg" /></div>
<div><img data-u="image" src="../img/gallery/980x380/002.jpg" /></div>
<div><img data-u="image" src="../img/gallery/980x380/003.jpg" /></div>
<div><img data-u="image" src="../img/gallery/980x380/004.jpg" /></div>
<div><img data-u="image" src="../img/gallery/980x380/005.jpg" /></div>
<div><img data-u="image" src="../img/gallery/980x380/006.jpg" /></div>
<div><img data-u="image" src="../img/gallery/980x380/007.jpg" /></div>
<div><img data-u="image" src="../img/gallery/980x380/008.jpg" /></div>
</div>
</div>
<!-- Jssor Slider End -->
</body>
</html>