summaryrefslogtreecommitdiff
path: root/snippets/pictures.html
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/pictures.html')
-rw-r--r--snippets/pictures.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/snippets/pictures.html b/snippets/pictures.html
index 01ea0be..4ec88c6 100644
--- a/snippets/pictures.html
+++ b/snippets/pictures.html
@@ -1,22 +1,24 @@
<script src="/distances.js"></script>
<script src="/slideshow.js"></script>
+<!--
<script>
(function() { new_selection() })();
</script>
+-->
<img id="image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNgYAAAAAMAASsJTYQAAAAASUVORK5CYII=" alt/>
-<script>document.getElementById("image").setAttribute("src", selection[0].src);</script>
<div id="controller">
- <a class="btn controller-item" onclick="new_selection()"><div class="fa fa-refresh" aria-label="reload" aria-hidden="true" title="New slideshow"></div></a>
- <a class="btn controller-item" onclick="toggle_play()"><div id="play-indicator" class="fa fa-stop" area-label="stop" aria-hidden="true" title="Toggle play"></div></a>
+ <a class="btn" onclick="toggle_play()"><span id="play-indicator" title="Pause slideshow">&#x23F8;</span></a>
+ <a class="btn" onclick="new_selection()"><span title="Next slideshow">&#x23E9;&#xfe0e;</span></a>
+ <p>&copy; pdp8 <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>
</div>
<a id="prev" onclick="prev()">&#10094;</a>
<a id="next" onclick="next()">&#10095;</a>
<script>
- (function() { play() })();
+ (function() { new_selection(); play() })();
</script>