collatzConjecture: fixing download button

dotLines: fixing controls
This commit is contained in:
Sheldan
2025-08-09 00:00:43 +02:00
parent 8c86e89470
commit 8a6e3b86df
3 changed files with 19 additions and 5 deletions

View File

@@ -25,14 +25,21 @@
left: 150px;
top: 3px;
}
.controls {
position: absolute;
top: 0px;
right: 10px
}
</style>
</head>
<body>
<div id="content">
<canvas id="canvas" ></canvas>
<input type="button" class="top" id="pauseBtn" value="pause" onclick="pause()" />
<input type="button" class="top" id="showAllBtn" value="show all" onclick="showAll()" />
<a id="download" class="top" onclick="downloadCanvasCommon('dotLines', canvas)">Download</a> <br>
<div class="controls">
<input type="button" class="top" id="pauseBtn" value="pause" onclick="pause()" />
<input type="button" class="top" id="showAllBtn" value="show all" onclick="showAll()" />
<a id="download" class="top" onclick="downloadCanvasCommon()">Download</a> <br>
</div>
</div>
<script type="module" src="js/main.js"></script>