<!DOCTYPE html>
<html>
<title>sargonco</title>
<script src="http://www.sargonco.com/Uploads/Public/article/webdistut/javascript/w3.js""></script>
<body>

<p>The slideshow is an object, with methods like next/previous:</p>

<img class="nature" src="img_fjords.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>
</html>

The slideshow is an object, with methods like next/previous: