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);
|
document.getElementById('fightResult').removeChild(document.getElementById('fightResult').firstChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
var mapImg = createElem('svg',{'alt' : 'map'});
|
var mapImg = createElem('svg',{'alt' : 'map','width':'200','height':'200'});
|
||||||
|
|
||||||
|
|
||||||
alert("plop");
|
|
||||||
// "circle" may be any tag name
|
// "circle" may be any tag name
|
||||||
var shape = document.createElementNS("http://www.w3.org/2000/svg", "circle");
|
var shape = document.createElementNS("http://www.w3.org/2000/svg", "circle");
|
||||||
// Set any attributes as desired
|
// Set any attributes as desired
|
||||||
|
|
Loading…
Reference in New Issue
Block a user