Datastar Spiced Websites

Datastar can be used to augment simple websites with interactive components.

This presentation is a datastar application.
The footer of each page is populated with the following code:

<nav
	data-on-keydown.window.key_-arrow-left="previous.click()"
	data-on-keydown.window.key_-arrow-right="next.click()"
>
	<h2>Slides</h2>
	<ol>
		<i><a id="previous" href="bchs.html">Previous</a></li>
		<li><a id="next" href="engine.html">Next</a></li>
	</ol>
</nav>

Each slide is an html page.