previous

page 20

next
a row of empties behind the main columns

      <img src='cards/empty.png' class='back_row' onclick='card_clicked(this);' style='grid-row-start:1; grid-column-start:3;'>

function setup_main() {
var s1="<img src='cards/empty.png' class='back_row' onclick='card_clicked(this);' style='grid-row-start:1; grid-column-start:";
var s2=";'>";
for (var i=1;i<9;i++) {
document.write(s1+i+s2);
}
var s1="<img src='cards/";
var s2=".png' class='main' id='";
var s3="' onclick='card_clicked(this);'>";
for (var i=1;i<52;i++) {
if (i!=13 && i!=26 && i!=39) {
document.write(s1+i+s2+i+s3);
}
}
}
.main, .back_row {
grid-column: 1 / span 1;
width:90%;
justify-self:center;
}
previous
next