-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path31231.html
More file actions
44 lines (36 loc) · 1.04 KB
/
31231.html
File metadata and controls
44 lines (36 loc) · 1.04 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<style>
#myTable {
border-spacing: 0px;
}
</style>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/js/materialize.min.js"></script>
<style>
</style>
</head>
<body>
<div class="container">
<table id="myTable" class="bordered striped">
</table>
<br>
</div>
<script>
//add('115557644','115557644')
function add(project1, project2) {
var table = document.getElementById("myTable");
var row = table.insertRow(0);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
var cell3 = row.insertCell(2);
cell3.style.width="10px";
cell1.innerHTML = "<img src='https://cdn2.scratch.mit.edu/get_image/project/"+project1+"_100x80.png'>";
cell2.innerHTML ="<h1>⟷</h1>"
cell3.innerHTML = "<img src='https://cdn2.scratch.mit.edu/get_image/project/"+project2+"_100x80.png'>";
}
</script>
</body>
</html>