Created
September 20, 2018 16:42
-
-
Save RichardSlater/1a2c9d21b64835212fb7fcf69b3b7705 to your computer and use it in GitHub Desktop.
Auto-update LucidCharts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Go-Live Plan</title> | |
<meta name="description" content="Go-live Plan"> | |
<meta name="author" content="Richard Slater"> | |
<meta http-equiv="refresh" content="3000"> | |
<style> | |
.fit { | |
object-fit: contain; | |
width: 100%; | |
} | |
body { | |
background-color: black; | |
} | |
</style> | |
<script type="text/javascript"> | |
function updateImage() | |
{ | |
var im = document.createElement("img"); | |
im.onload=function() { document.getElementById("myimage").src = this.src } | |
im.src = "https://www.lucidchart.com/publicSegments/view/2bb7d3ee-afe3-49ae-b3f6-c52f24e00d5c/image.png?rand=" + new Date().getTime(); | |
setTimeout(updateImage, 60000); | |
} | |
updateImage(); | |
</script> | |
</head> | |
<body> | |
<img class="fit" src='https://www.lucidchart.com/publicSegments/view/2bb7d3ee-afe3-49ae-b3f6-c52f24e00d5c/image.png' id='myimage' /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment