Template:Peking2012 Color Prologue
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 662: | Line 662: | ||
var Submenu_Item_Des = 0; | var Submenu_Item_Des = 0; | ||
var Submenu_Item_Cur = 0; | var Submenu_Item_Cur = 0; | ||
- | var Submenu_BlankWidth = [0, | + | var Submenu_BlankWidth = [0, 445, 470, 608, 640]; //Unit: Pixel |
var Submenu_ListHeight = [120, 120, 120, 90, 90]; //Unit: Pixel | var Submenu_ListHeight = [120, 120, 120, 90, 90]; //Unit: Pixel | ||
var Submenu_Handle_State = 0; //0:Null, 1:Growth, 2:Waiting, 3:Wither | var Submenu_Handle_State = 0; //0:Null, 1:Growth, 2:Waiting, 3:Wither | ||
Line 722: | Line 722: | ||
else | else | ||
{ | { | ||
+ | Submenu_Obj[Submenu_Item_Cur-1].style.height=Submenu_Size_Cur[Submenu_Item_Cur]+'px'; | ||
Submenu_Handle = setTimeout(ItemWither,50); | Submenu_Handle = setTimeout(ItemWither,50); | ||
} | } | ||
- | |||
} | } | ||
function ToWither() | function ToWither() |
Revision as of 02:37, 11 September 2012