Template:Peking2012 Color Prologue

From 2012.igem.org

(Difference between revisions)
m
m
Line 695: Line 695:
{
{
document.getElementById('console').innerHTML="Growth";
document.getElementById('console').innerHTML="Growth";
 +
document.getElementById('terminal').innerHTML+=Submenu_Item_Cur+' '+Submenu_Item_Des+' '+Submenu_Handle_State+"<br />";
   Submenu_Size_Cur[Submenu_Item_Cur] = Submenu_Size_Cur[Submenu_Item_Cur] * 0.7 + Submenu_ListHeight[Submenu_Item_Cur] * 1.05 * 0.3;
   Submenu_Size_Cur[Submenu_Item_Cur] = Submenu_Size_Cur[Submenu_Item_Cur] * 0.7 + Submenu_ListHeight[Submenu_Item_Cur] * 1.05 * 0.3;
   if (Submenu_Size_Cur[Submenu_Item_Cur]>=Submenu_ListHeight[Submenu_Item_Cur])
   if (Submenu_Size_Cur[Submenu_Item_Cur]>=Submenu_ListHeight[Submenu_Item_Cur])
Line 712: Line 713:
{
{
document.getElementById('console').innerHTML="Wither";
document.getElementById('console').innerHTML="Wither";
 +
document.getElementById('terminal').innerHTML+=Submenu_Item_Cur+' '+Submenu_Item_Des+' '+Submenu_Handle_State+"<br />";
   Submenu_Size_Cur[Submenu_Item_Cur] = Submenu_Size_Cur[Submenu_Item_Cur] * 0.7 - 0.01 * 1.05 * 0.3;
   Submenu_Size_Cur[Submenu_Item_Cur] = Submenu_Size_Cur[Submenu_Item_Cur] * 0.7 - 0.01 * 1.05 * 0.3;
   if (Submenu_Size_Cur[Submenu_Item_Cur]<=0)
   if (Submenu_Size_Cur[Submenu_Item_Cur]<=0)
Line 740: Line 742:
{
{
document.getElementById('console').innerHTML="Waiting";
document.getElementById('console').innerHTML="Waiting";
 +
document.getElementById('terminal').innerHTML+=Submenu_Item_Cur+' '+Submenu_Item_Des+' '+Submenu_Handle_State+"<br />";
   Submenu_Handle_State = 3;
   Submenu_Handle_State = 3;
   ItemWither();
   ItemWither();

Revision as of 14:18, 10 September 2012