summaryrefslogtreecommitdiff
path: root/snippets/pictures.html
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2022-08-24 15:59:27 +0200
committerpdp8 <pdp8@pdp8.info>2022-08-24 15:59:27 +0200
commit75fcb829a96307b7123b5e4cc1a15cc7097f5001 (patch)
tree180802254ac904b5a4955fef9687d2998a496ee0 /snippets/pictures.html
parentbfb3d38aba8649e4ad4e3ec3d23aa8152621d088 (diff)
license, css and javascript fixes
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>