Adds working sliding.
This commit is contained in:
40
index.html
Normal file
40
index.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Grid Demo</title>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta charset="utf-8">
|
||||
<style type="text/css">
|
||||
table {
|
||||
border: 1px solid black;
|
||||
}
|
||||
tr {
|
||||
border: 1px solid black;
|
||||
}
|
||||
td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
td.hidden {
|
||||
background-color: #f88;
|
||||
}
|
||||
td.visible {
|
||||
background-color: #8f8;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend title="asdf">Grid</legend>
|
||||
<div id="output"></div>
|
||||
</fieldset>
|
||||
|
||||
<section>
|
||||
<button id="btnLeft" onclick="btnLeft_onClick()">Left</button>
|
||||
<button id="btnUp" onclick="btnUp_onClick()">Up</button>
|
||||
<button id="btnDown" onclick="btnDown_onClick()">Down</button>
|
||||
<button id="btnRight" onclick="btnRight_onClick()">Right</button>
|
||||
</section>
|
||||
<button onclick="btnGo_onClick();" id="btnGo">Go</button>
|
||||
<script src="main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user