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.

87 lines
2.3 KiB

13 years ago
<!DOCTYPE html>
<html lang="en">
13 years ago
<head>
<meta charset="utf-8">
13 years ago
<title>ResponsiveSlides.js &middot; 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.8.3/jquery.min.js"></script>
<script src="../../responsiveslides.min.js"></script>
13 years ago
<script>
// You can also use "$(function () {"
$(window).load(function() {
// Slideshow 1
$("#slider1").responsiveSlides({
auto: false,
pager: true,
nav: true,
speed: 500,
maxwidth: 800,
namespace: "centered-btns"
});
// Slideshow 2
$("#slider2").responsiveSlides({
auto: false,
pager: true,
nav: true,
speed: 500,
maxwidth: 800,
namespace: "transparent-btns"
});
// Slideshow 3
$("#slider3").responsiveSlides({
auto: false,
pager: false,
nav: true,
speed: 500,
maxwidth: 800,
namespace: "large-btns"
});
13 years ago
});
13 years ago
</script>
</head>
<body>
<div id="wrapper">
<h1>Three different ways to use next/prev buttons</h1>
13 years ago
<h3>Vertically centered on both sides</h3>
<!-- Slideshow 1 -->
<div class="rslides_container">
<ul class="rslides" id="slider1">
<li><img src="../1.jpg" alt=""></li>
<li><img src="../2.jpg" alt=""></li>
<li><img src="../3.jpg" alt=""></li>
</ul>
</div>
13 years ago
<h3>Transparent buttons over the left and right side</h3>
<!-- Slideshow 2 -->
<div class="rslides_container">
<ul class="rslides" id="slider2">
<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>
<!-- Slideshow 3 -->
<div class="rslides_container">
<ul class="rslides" id="slider3">
<li><img src="../1.jpg" alt=""></li>
<li><img src="../2.jpg" alt=""></li>
<li><img src="../3.jpg" alt=""></li>
</ul>
</div>
13 years ago
<a href="http://responsiveslides.com/">View ResponsiveSlides.js documentation</a>
13 years ago
</div>
</body>
</html>