You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.3 KiB
83 lines
2.3 KiB
<!DOCTYPE html> |
|
<html lang="en" class="no-js"> |
|
<head> |
|
<meta charset="utf-8" /> |
|
<title>ResponsiveSlides.js · Alternative themes</title> |
|
<meta name="viewport" content="width=device-width,initial-scale=1" /> |
|
<link rel="stylesheet" href="../../responsiveslides.css" /> |
|
<link rel="stylesheet" href="themes.css" /> |
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> |
|
<script src="../../responsiveslides.min.js"></script> |
|
<script> |
|
$(function () { |
|
|
|
// If you aren't using Modernizr you might want to add no-js class |
|
// to html and use that to support cases when JavaScript isn't available |
|
$("html").removeClass("no-js"); |
|
|
|
// Slideshow 1 |
|
$(".rslides1").responsiveSlides({ |
|
auto: false, |
|
pager: true, |
|
nav: true, |
|
speed: 500, |
|
maxwidth: 800 |
|
}); |
|
|
|
// Slideshow 2 |
|
$(".rslides2").responsiveSlides({ |
|
auto: false, |
|
pager: true, |
|
nav: true, |
|
speed: 500, |
|
maxwidth: 800 |
|
}); |
|
|
|
// Slideshow 3 |
|
$(".rslides3").responsiveSlides({ |
|
auto: false, |
|
pager: false, |
|
nav: true, |
|
speed: 500, |
|
maxwidth: 800 |
|
}); |
|
|
|
}); |
|
</script> |
|
</head> |
|
<body> |
|
<div id="wrapper"> |
|
<h1>Three different ways to use next/prev buttons</h1> |
|
|
|
<h3>Vertically centered on both sides</h3> |
|
<div class="rslides_container"> |
|
<ul class="rslides rslides1"> |
|
<li><img src="../1.jpg" alt="" /></li> |
|
<li><img src="../2.jpg" alt="" /></li> |
|
<li><img src="../3.jpg" alt="" /></li> |
|
</ul> |
|
</div> |
|
|
|
<h3>Transparent buttons over the left and right side</h3> |
|
<div class="rslides_container"> |
|
<ul class="rslides rslides2"> |
|
<li><img src="../1.jpg" alt="" /></li> |
|
<li><img src="../2.jpg" alt="" /></li> |
|
<li><img src="../3.jpg" alt="" /></li> |
|
</ul> |
|
</div> |
|
|
|
<h3>100% height with vertically centered icons</h3> |
|
<div class="rslides_container"> |
|
<ul class="rslides rslides3"> |
|
<li><img src="../1.jpg" alt="" /></li> |
|
<li><img src="../2.jpg" alt="" /></li> |
|
<li><img src="../3.jpg" alt="" /></li> |
|
</ul> |
|
</div> |
|
|
|
<a href="http://responsiveslides.com/">View ResponsiveSlides.js documentation</a> |
|
|
|
</div> |
|
</body> |
|
</html>
|
|
|