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

<p>Elements with a class named "city" will behave like a slideshow:</p>

<h1 class="city">London</h1>
<h1 class="city">Paris</h1>
<h1 class="city">Tokyo</h1>

<script>
w3.slideshow(".city");
</script>

</body>
</html>

Elements with a class named "city" will behave like a slideshow:

London

Paris

Tokyo