<html>
<title>W3.JS</title>
<script src="../lib/w3.js"></script>
<body>
<h2>Testing W3.JS in HTML</h2>
<p>The slideshow is an object, with methods like next/previous:</p>
<img class="nature" src="img_snowtops.jpg" width="50%">
<img class="nature" src="img_mountains.jpg" width="50%">
<img class="nature" src="img_nature.jpg" width="50%">
<p>
<button onclick="myShow.previous()">Previous</button>
<button onclick="myShow.next()">Next</button>
</p>
<script>
myShow = w3.slideshow(".nature", 0);
</script>
</body>
<!-- Mirrored from www.w3schools.com/w3js/tryit.asp?filename=tryw3js_slideshow_next by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:29:21 GMT -->
</html>