
previous

page 16
next
Adding Buttons

← This is what I'm aimimg for.
Below shows the new sections in my index.html.
Note that I've added our library so I can Hide buttons.
Note too that I've removed test.
<html>
<head>
<title>Spirolaterals</title>
<link rel='stylesheet' href='styles.css'>
<script src='library.js'></script>
<script src='globals.js'></script>
<script src='my.js'></script>
</head>
<body onResize='resize();'>
<div id='canvasses'>
<canvas id='c'></canvas>
<canvas id='robot'></canvas>
</div>
<div id='buttons'>
<div id='run' onClick='run();'>RUN</div>
<div id='cont' onClick='cont();'>CONTINUE</div>
<div id='stop' onClick='stop();'>STOP</div>
</div>
<script>setup();</script>
</body>
</html>
<head>
<title>Spirolaterals</title>
<link rel='stylesheet' href='styles.css'>
<script src='library.js'></script>
<script src='globals.js'></script>
<script src='my.js'></script>
</head>
<body onResize='resize();'>
<div id='canvasses'>
<canvas id='c'></canvas>
<canvas id='robot'></canvas>
</div>
<div id='buttons'>
<div id='run' onClick='run();'>RUN</div>
<div id='cont' onClick='cont();'>CONTINUE</div>
<div id='stop' onClick='stop();'>STOP</div>
</div>
<script>setup();</script>
</body>
</html>
previous
next