Browse Source

added show.html: rolling strip viewer

oloturia 2 years ago
parent
commit
8bd39db587
2 changed files with 17 additions and 1 deletions
  1. 0 1
      .gitignore
  2. 17 0
      show.html

+ 0 - 1
.gitignore

@@ -10,5 +10,4 @@ oloturia_credentials.secret
 history/*
 bin/*
 temp/*
-show.html
 *.pyc

+ 17 - 0
show.html

@@ -0,0 +1,17 @@
+<html>
+<head>
+<title>Random Strip</title>
+<script>
+function reloadImage() {
+	var now = new Date();
+	var el = document.getElementById("image");
+	el.src = "file:///var/tmp/image.png?t=" + now;
+	setTimeout("reloadImage()",10000);
+}
+setTimeout("reloadImage()",10000);
+</script>
+</head>
+<body>
+<img id="image" src="file:///var/tmp/image.png" width=1500>
+</body>
+</html>