Template:Peking2012 Color Modeling
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 9: | Line 9: | ||
</script> | </script> | ||
<div class="floatL"> | <div class="floatL"> | ||
- | <ul id="PKU_subsubmenu" class="vertical"> | + | <ul id="PKU_subsubmenu" class="vertical" onmouseout="listReset();"> |
<li class="trunk" style="background-image:url('/wiki/images/a/a4/Peking2012_Color_Title_FlameYellow.jpg');" onmouseover="listTrigger(0);"> | <li class="trunk" style="background-image:url('/wiki/images/a/a4/Peking2012_Color_Title_FlameYellow.jpg');" onmouseover="listTrigger(0);"> | ||
<a href="/Team:Peking/Modeling/Luminesensor">Luminesensor Optimization</a> | <a href="/Team:Peking/Modeling/Luminesensor">Luminesensor Optimization</a> | ||
Line 61: | Line 61: | ||
*/ | */ | ||
var sublists_Num = 3; //Total Number | var sublists_Num = 3; //Total Number | ||
- | var sublists_Cur = | + | var sublists_Cur = 1; //Current Grow |
var sublists_Now = 0; //Current Page | var sublists_Now = 0; //Current Page | ||
var subLhght = [120,120,120]; //Unit: Pixel | var subLhght = [120,120,120]; //Unit: Pixel | ||
Line 77: | Line 77: | ||
function listGrowth() | function listGrowth() | ||
{ | { | ||
- | subLhght_Cur[sublists_Cur] = subLhght_Cur[sublists_Cur] * 0. | + | subLhght_Cur[sublists_Cur] = subLhght_Cur[sublists_Cur] * 0.7 + subLhght[sublists_Cur] * 1.2 * 0.3; |
if (subLhght_Cur[sublists_Cur]>=subLhght[sublists_Cur]) | if (subLhght_Cur[sublists_Cur]>=subLhght[sublists_Cur]) | ||
{ | { | ||
Line 91: | Line 91: | ||
function listWither(i) | function listWither(i) | ||
{ | { | ||
- | subLhght_Cur[i] = subLhght_Cur[i] * 0. | + | subLhght_Cur[i] = subLhght_Cur[i] * 0.7 - 0.5; |
if (subLhght_Cur[i]<=0) | if (subLhght_Cur[i]<=0) | ||
{ | { | ||
Line 133: | Line 133: | ||
else {subLhand_Return = null;} | else {subLhand_Return = null;} | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</script> | </script> | ||
</html> | </html> |
Revision as of 09:42, 14 September 2012