js
This commit is contained in:
parent
a429064dd2
commit
7aa9a6fa50
|
@ -14,6 +14,9 @@ function createElemNS(type,attributes){
|
||||||
function show_bot_panel(number){
|
function show_bot_panel(number){
|
||||||
//configurePlayers
|
//configurePlayers
|
||||||
var fieldset = createElem('fieldset',{'class':'botFormulaire'});
|
var fieldset = createElem('fieldset',{'class':'botFormulaire'});
|
||||||
|
var legend = createElem('legend',{});
|
||||||
|
legend.innerHTML = 'bot ' + number;
|
||||||
|
fieldset.appendChild(legend);
|
||||||
var p=createElem('p');
|
var p=createElem('p');
|
||||||
var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(this.value);'});
|
var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(this.value);'});
|
||||||
for (var i = 0; i < botsAvailable.length; i++){
|
for (var i = 0; i < botsAvailable.length; i++){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user