Template:Peking2012 Color Prologue
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 526: | Line 526: | ||
</div> | </div> | ||
<div class="floatR"> | <div class="floatR"> | ||
- | <p id="PKU_banner_logo"><img style="width:50px;margin-right:15px;" src="/wiki/images/ | + | <p id="PKU_banner_logo"><img style="width:50px;margin-right:15px;" src="/wiki/images/8/85/Peking2012_Color_Logo_128.png" alt="" />Peking University</p> |
</div> | </div> | ||
<div class="floatR"> | <div class="floatR"> | ||
Line 666: | Line 666: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <p id="console"></p> | ||
+ | <p id="terminal"></p> | ||
<script type="text/javascript" > | <script type="text/javascript" > | ||
Line 692: | Line 694: | ||
function ItemGrowth() | function ItemGrowth() | ||
{ | { | ||
+ | document.getElementById('console').innerHTML="Growth"; | ||
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 707: | Line 710: | ||
function ItemWither() | function ItemWither() | ||
{ | { | ||
+ | document.getElementById('console').innerHTML="Wither"; | ||
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 733: | Line 737: | ||
function ToWither() | function ToWither() | ||
{ | { | ||
+ | document.getElementById('console').innerHTML="Waiting"; | ||
Submenu_Handle_State = 3; | Submenu_Handle_State = 3; | ||
ItemWither(); | ItemWither(); | ||
Line 739: | Line 744: | ||
function TriggerSubmenu(i) | function TriggerSubmenu(i) | ||
{ | { | ||
- | document. | + | document.getElementById('terminal').innerHTML=Submenu_Item_Cur+' '+Submenu_Item_Des+' '+Submenu_Handle_State+' '+i+'\n'; |
if (Submenu_Handle_State==0) | if (Submenu_Handle_State==0) | ||
{ | { |
Revision as of 13:30, 10 September 2012