var insingle = document.getElementById('singleparticlecontents');
var intomo = document.getElementById('tomography');
var inmds = document.getElementById('mds');
-
+
if (insingle.style.display == "") {
canvasmode = 1;
canvasApp();
*/
//var movex = document.forms.movestage.movex.value;
//var movey = document.forms.movestage.movey.value;
-/*
+/*
function putTxt(){
document.onkeydown = funcKey;
}
if (gamepad.axes[1] > 0.5) {
movey = parseInt(movey) + parseInt(10);
canvasApp();
-
+
}
},1000/60);
*/
}
}
}, 1000 / 60);
-
-
+
+
window.addEventListener("gamepaddisconnected", function(e) {
console.log("gamepad disconnected");
});
e.gamepad.index, e.gamepad.id,
e.gamepad.buttons.length, e.gamepad.axes.length);
});
-
+
};
//if(document.forms.movestage.movey.value!=moveformy){
moveformy = document.forms.movestage.movey.value;
movey=parseInt(moveformy);
-
+
moveformz = document.forms.moveza.movez.value;
movez=parseInt(moveformz);
-
-
+
+
stagecontrol('stage',movex,movey,movez,movea);
emcondition('request');
//}
}
/*
var movez = document.forms.s2.movez.value;
-
+
if (movez == 0) {
movez = 1;
}
}
//見る画像
- img.src = "./CC124crudeダイニン.jpg";
+ img.src = "./image/CC124crudeダイニン.jpg";
//--ふちの設定--現在見えてない
context.strokeStyle = "#000000";
//if(document.forms.movestage.movey.value!=moveformy){
moveformy = document.forms.movestagetomo.movey.value;
movey=parseInt(moveformy);
-
+
moveformz = document.forms.moveztomo.movez.value;
movez=parseInt(moveformz);
-
+
if (tiltmode == 1) {
moveformas = document.forms.setting.standardnum.value;
movea = parseInt(moveformas);
}
/*
var movez = document.forms.s2.movez.value;
-
+
if (movez == 0) {
movez = 1;
}
}
//見る画像
- img.src = "./axoF11-2 .jpg";
+ img.src = "./image/axoF11-2 .jpg";
//--ふちの設定--現在見えてない
context.strokeStyle = "#000000";
document.getElementById("gamepad").style.backgroundColor = 'transparent';
document.getElementById("gamepad2").style.backgroundColor = 'transparent';
document.getElementById("gamepad3").style.backgroundColor = 'transparent';
-
+
if(modename){
document.getElementById(modename).style.backgroundColor = '#e0ffff';
}
}
-/*
+/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
//if(document.forms.movestage.movey.value!=moveformy){
moveformy = document.forms.movestagemds.movey.value;
movey=parseInt(moveformy);
-
+
moveformz = document.forms.movezmds.movez.value;
movez=parseInt(moveformz);
-
-
+
+
stagecontrol('stage',movex,movey,movez,movea);
emcondition('request');
//}
}
/*
var movez = document.forms.s2.movez.value;
-
+
if (movez == 0) {
movez = 1;
}
}
//見る画像
- img.src = "./flower.jpg";
+ img.src = "./image/flower.jpg";
//--ふちの設定--現在見えてない
context.strokeStyle = "#000000";
//if(document.forms.movestage.movey.value!=moveformy){
moveformy = document.forms.movestage.movey.value;
movey=parseInt(moveformy);
-
+
moveformz = document.forms.moveza.movez.value;
movez=parseInt(moveformz);
-
-
+
+
stagecontrol('stage',movex,movey,movez,movea);
emcondition('request');
//}
}*/
/*
var movez = document.forms.s2.movez.value;
-
+
if (movez == 0) {
movez = 1;
}
}
//見る画像
- img.src = "./ele.jpg";
+ img.src = "./image/ele.jpg";
//--ふちの設定--現在見えてない
context.strokeStyle = "#000000";
//わくの輪郭を書く、引数は左端のx,y,幅,高さ
}
drawScreen();
-}
\ No newline at end of file
+}