try to draw 1000*1000 svg grig
This commit is contained in:
parent
762ad54f1b
commit
deb0f28973
|
@ -13,10 +13,7 @@ function tron(bot1,bot2,xdcheck){
|
|||
document.getElementById('fightResult').removeChild(document.getElementById('fightResult').firstChild);
|
||||
}
|
||||
|
||||
var mapImg = createElem('svg',{'alt' : 'map'});
|
||||
|
||||
|
||||
alert("plop");
|
||||
var mapImg = createElem('svg',{'alt' : 'map','width':'200','height':'200'});
|
||||
// "circle" may be any tag name
|
||||
var shape = document.createElementNS("http://www.w3.org/2000/svg", "circle");
|
||||
// Set any attributes as desired
|
||||
|
|
Loading…
Reference in New Issue
Block a user