81 строка
3.2 KiB
HTML
81 строка
3.2 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Essential JS 1 : Rotator Default Functionalities</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8" />
|
|
<link href="../content/bootstrap.min.css" rel="stylesheet">
|
|
<link href="../content/ejthemes/default-theme/ej.web.all.min.css" rel="stylesheet" />
|
|
<link href="../content/default.css" rel="stylesheet" />
|
|
<link href="../content/default-responsive.css" rel="stylesheet" />
|
|
<!--[if lt IE 9]>
|
|
<script src="../scripts/jquery-1.11.3.min.js" type="text/javascript" ></script>
|
|
<![endif]-->
|
|
<!--[if IE 9]><!-->
|
|
<script src="../scripts/jquery-3.4.1.min.js" type="text/javascript"> </script>
|
|
<!--<![endif]-->
|
|
|
|
<script src="../scripts/ej.web.all.min.js" type="text/javascript"></script>
|
|
<script src="../scripts/properties.js" type="text/javascript"></script>
|
|
</head>
|
|
<body>
|
|
<div class="content-container-fluid">
|
|
<div class="row">
|
|
<div class="rotators">
|
|
<div class="cols-sample-area">
|
|
<div class="frame">
|
|
<ul id="sliderContent">
|
|
<li>
|
|
<img class="image" src="../content/images/rotator/nature.jpg" alt="Nature" title="Nature" /></li>
|
|
<li>
|
|
<img class="image" src="../content/images/rotator/bird.jpg" alt="bird" title="Beautiful Bird" /></li>
|
|
<li>
|
|
<img class="image" src="../content/images/rotator/sculpture.jpg" alt="sculpture" title="Amazing Sculptures" /></li>
|
|
<li>
|
|
<img class="image" src="../content/images/rotator/seaview.jpg" alt="seaview" title="Sea-View" /></li>
|
|
<li>
|
|
<img class="image" src="../content/images/rotator/snowfall.jpg" alt="snowfall" title="Snow Fall" /></li>
|
|
<li>
|
|
<img class="image" src="../content/images/rotator/card.jpg" alt="card" title="Credit Card" /></li>
|
|
<li>
|
|
<img class="image" src="../content/images/rotator/night.jpg" alt="night" title="Colorful Night" /></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
// declaration
|
|
|
|
$("#sliderContent").ejRotator({
|
|
slideWidth: "100%",
|
|
frameSpace: "0px",
|
|
slideHeight: "auto",
|
|
displayItemsCount: "1",
|
|
navigateSteps: "1",
|
|
pagerPosition: ej.Rotator.PagerPosition.Outside,
|
|
orientation: ej.Orientation.Horizontal,
|
|
showPager: true,
|
|
enabled: true,
|
|
showCaption: true,
|
|
allowKeyboardNavigation: true,
|
|
showPlayButton: true,
|
|
isResponsive:true,
|
|
animationType: "slide",
|
|
});
|
|
});
|
|
</script>
|
|
<style type="text/css" class="cssStyles">
|
|
.frame{
|
|
width: 500px;
|
|
height:300px;
|
|
}
|
|
#sliderContent > li .image {
|
|
width: 100%;
|
|
height: 300px;
|
|
}
|
|
</style>
|
|
</body>
|
|
</html>
|