testimonial
Version:
JS testimonial slider with AJAX
46 lines (40 loc) • 1.21 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Testimonial.js example</title>
<link rel="stylesheet" href="../dist/css/testimonial.min.css">
</head>
<body>
<div id="testimonial-slider" class="testimonial_slider">
<div class="slide">
<div class="quote">
№1 The plugin is written using js and css. Uses the library jquery. Plugin is run, there are tests and generally very good plugin!
</div>
<div class="author">
<a href="https://github.com/AlekseyLeshko">
Aleksey Leshko
</a>
<img class="avatar" src="http://2.gravatar.com/avatar/027ed55733da6f7037335e0af0c46591?s=146">
</div>
<div class="company">
<a href="https://github.com/AlekseyLeshko/testimonial.js">
GitHub Repo
</a>
</div>
</div>
</div>
<script src="../dist/js/testimonial.js"></script>
<script src="./js/slideArr.js"></script>
<script>
var testimonial;
var options = {
width: 385
};
testimonial = new Testimonial('#testimonial-slider', options);
testimonial.add(slideArr[0]);
testimonial.add(slideArr[2]);
testimonial.stop();
</script>
</body>
</html>