scroll down
This commit is contained in:
parent
6306592c1a
commit
5ee00ef51a
|
@ -36,7 +36,7 @@ function fight(xd_check){
|
||||||
var p=createElem("p");
|
var p=createElem("p");
|
||||||
p.innerHTML=strike['log'];
|
p.innerHTML=strike['log'];
|
||||||
document.getElementById('logs').appendChild(p);
|
document.getElementById('logs').appendChild(p);
|
||||||
|
document.getElementById("logs").scrollTop=document.getElementById("logs").scrollHeight;
|
||||||
if( strike['continue'] == 1){
|
if( strike['continue'] == 1){
|
||||||
fight(xd_check);
|
fight(xd_check);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ article p label {float:left; text-align:right; width:60%}
|
||||||
article p select {}
|
article p select {}
|
||||||
td{min-width: 15px; height: 15px;}
|
td{min-width: 15px; height: 15px;}
|
||||||
#fightResult{display:table;}
|
#fightResult{display:table;}
|
||||||
#logs{display:block;padding-left:10px; height: 300px; overflow-y: scroll;}
|
#logs{display:block;padding-left:10px; height: 200px; overflow-y: scroll;}
|
||||||
.battleshipGrid{display:table-cell; padding-left:10px; border-collapse:collapse; margin: 20px 20px 20px 20px;}
|
.battleshipGrid{display:table-cell; padding-left:10px; border-collapse:collapse; margin: 20px 20px 20px 20px;}
|
||||||
.nofloat{float: none;}
|
.nofloat{float: none;}
|
||||||
.battleshipGrid tr{}
|
.battleshipGrid tr{}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user