-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
25 lines (25 loc) · 733 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/stylesheet.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="scripts/script.js"></script>
<title>A sketchpad thingy</title>
</head>
<body>
<button id="gridReset">Click to reset</button>
<div id="gridContainer"><!-- Put shit here............................ --></div>
<!--
<script type="text/javascript">
$(document).ready(function() {
function initVars() {
square = document.querySelector(".gridSquare");
containerSize = document.getElementById("gridContainer").offsetWidth
}
alert(containerSize);
initVars();
});
</script>
-->
</body>
</html>