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.
79 lines
2.1 KiB
79 lines
2.1 KiB
<!DOCTYPE html> |
|
<html lang="en"> |
|
<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 () { |
|
|
|
// Slideshow 1 |
|
$("#slides1").responsiveSlides({ |
|
auto: false, |
|
pagination: true, |
|
nav: true, |
|
fade: 500, |
|
maxwidth: 800 |
|
}); |
|
|
|
// Slideshow 2 |
|
$("#slides2").responsiveSlides({ |
|
auto: false, |
|
pagination: true, |
|
nav: true, |
|
fade: 500, |
|
maxwidth: 800 |
|
}); |
|
|
|
// Slideshow 3 |
|
$("#slides3").responsiveSlides({ |
|
auto: false, |
|
pagination: false, |
|
nav: true, |
|
fade: 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 id="slides1" class="rslides"> |
|
<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 id="slides2" class="rslides"> |
|
<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 id="slides3" class="rslides"> |
|
<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://responsive-slides.viljamis.com/">View ResponsiveSlides.js documentation</a> |
|
|
|
</div> |
|
</body> |
|
</html> |