Update index.html

This commit is contained in:
Innovation Inc 2019-09-18 20:30:59 -05:00 committed by GitHub
parent c555d1ab5b
commit c66789215b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@
.br { .br {
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
right: 0px; right: 2px;
} }
.verticalcenter { .verticalcenter {
vertical-align: middle; vertical-align: middle;
@ -64,25 +64,22 @@
</style> </style>
</head> </head>
<body> <body>
<center> <script>
<div class="verticalcenter"> var current= new Date();
<script> var month=current.getMonth();
var current= new Date(); var date=current.getDate();
var month=current.getMonth(); function loadImage(image) {
var date=current.getDate(); var x = document.createElement("IMG");
function loadImage(image) { x.setAttribute("src", image);
var x = document.createElement("IMG"); x.setAttribute("class", "verticalcenter");
x.setAttribute("src", image); document.body.appendChild(x);
document.body.appendChild(x); }
} if (month=="3" && date=="13") {
if (month=="3" && date=="13") { loadImage("gate.gif");
loadImage("gate.gif"); } else {
} else { loadImage("load.gif");
loadImage("load.gif"); }
} </script>
</script>
</div>
</center>
<p class="br">v0.1.4</p> <p class="br">v0.1.4</p>
</body> </body>
</html> </html>