Template:Peking2012 Color Prologue

From 2012.igem.org

(Difference between revisions)
m
m
Line 651: Line 651:
  </div>
  </div>
</div>
</div>
 +
 +
<!--DEBUG-->
 +
<p id="console" class="floatC"></p>
 +
<p id="output" class="floatC"></p>
 +
<!--GUBED-->
<script type="text/javascript" >
<script type="text/javascript" >
Line 673: Line 678:
{
{
   Submenu_Obj[it].style.height=Submenu_Size_Cur[it+1]+'px';
   Submenu_Obj[it].style.height=Submenu_Size_Cur[it+1]+'px';
 +
  Submenu_Obj[it].style.display='none';
}
}
 +
 +
/*DEBUG*/
 +
setInterval('document.getElementById("console").innerHTML=Submenu_Handle_State+" "+Submenu_Item_Cur+" "+Submenu_Item_Des+" "+Submenu_Handle+"<br>";',100);
 +
/*GUBED*/
/* Automatic Function */
/* Automatic Function */
Line 729: Line 739:
function TriggerSubmenu(i)
function TriggerSubmenu(i)
{
{
 +
/*DEBUG*/
 +
document.getElementById("output").innerHTML+="Inital:("+i+") "+Submenu_Handle_State+" "+Submenu_Item_Cur+" "+Submenu_Item_Des+" "+Submenu_Handle+" ";
 +
/*GUBED*/
   if (Submenu_Handle_State==0)
   if (Submenu_Handle_State==0)
   {
   {
Line 798: Line 811:
     }
     }
   }
   }
 +
/*DEBUG*/
 +
document.getElementById("output").innerHTML+="Final:"+Submenu_Handle_State+" "+Submenu_Item_Cur+" "+Submenu_Item_Des+" "+Submenu_Handle+"<br>";
 +
/*GUBED*/
}
}
</script>
</script>
<div id="text-body">
<div id="text-body">
</html>
</html>

Revision as of 15:46, 10 September 2012