| Server IP : 103.48.194.25 / Your IP : 216.73.216.182 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/nhadatkhangdien.net-bk/public_html/js/aslider/ |
Upload File : |
<!DOCTYPE html>
<!-- saved from url=(0036)http://varunnaik.github.io/A-Slider/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>A-Slider: Responsive CSS based content slider</title>
<meta charset="UTF-8">
<link href="css" rel="stylesheet" type="text/css">
<script src="jquery-1.10.1.min.js"></script>
<script src="aslider.js"></script>
<style>
/* Page markup */
body {
padding: 0; margin: 0;
}
header {
margin: 0;
background: black;
padding: 30px 0 30px 0;
}
header h1, header h2 {
color: white;
text-align: center;
font-family: roboto, arial, sans-serif;
}
h1 {
font-size: 40px;
font-weight: bold;
}
h2 {
font-size: 40px;
font-weight: normal;
}
section {
background: #f5f5f5;
margin: 0;
}
section h2 {
font-family: roboto, arial, sans-serif;
font-size: 32px;
text-align: center;
margin-top: 0;
padding-top: 25px;
}
.box {
border: 1px solid #ccc;
box-shadow: 0 0 3px #eee;
background: white;
border-radius: 2px;
width: 500px;
margin: 0 auto;
font-family: roboto, arial, sans-serif;
line-height: 1.5;
padding: 25px;
}
.box ul li {
margin-bottom: 15px;
}
.credits {
color: #888888;
font-size: 14px;
text-align: center;
}
.credits a {
color: black;
}
/* End Page markup */
/* Slider-specific styles */
.aslide {
display: none;
background: #ffffff;
}
.aslide img {
max-width: 100%;
width: 100%;
}
#slider {
width: 90%;
margin: 0 auto;
margin-bottom: 15px;
border: 6px solid #ffffff;
box-shadow: 0 3px 10px #777;
}
.aslide .text {
color: #f8f8f8;
text-shadow: 0 0 2px #000;
font-weight: bold;
font-size: 36px;
width: 100%;
text-align: center;
position: absolute;
bottom: 30px;
font-family: sans-serif;
}
@media screen and (max-width: 700px) {
.aslide .text {
font-size: 24px !important;
}
.box {
width: auto;
}
}
@media screen and (max-width: 500px) {
header {
padding: 14px;
}
h1 {
font-size: 26px;
}
h2, section h2 {
font-size: 22px;
}
.aslide .text {
font-size: 16px !important;
}
.box {
width: auto;
padding: 5px;
border-right: 0;
border-left: 0;
}
}
/* End slider-specific styles */
</style>
</head>
<body cz-shortcut-listen="true">
<div id="slider" class="aslider" data-duration="3" style="position: relative; height: 300px;">
<div class="aslide" data-duration="3" data-audio="" data-audio-loop="" >
<img src="green_fields_of_varying_hues.jpg" >
</div>
<div class="aslide" data-duration="3" data-audio="" >
<img src="bridge.jpg" >
</div>
<div class="aslide" data-duration="3" data-audio="" >
<img src="waves_and_red_rocks.jpg">
</div>
<div class="aslide" data-duration="3" data-audio="" >
<img src="rock_on_lake_under_starry_sky.jpg" >
</div>
</div>
<script>
function resize() {
$('#slider').height($('#slider').children('.aslide').height());
}
$(window).resize(resize);
$(window).load(resize);
</script>
</body></html>