Template:Peking2012 Color Project
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(13 intermediate revisions not shown) | |||
Line 10: | Line 10: | ||
<div class="floatL"> | <div class="floatL"> | ||
<ul id="PKU_subsubmenu" class="vertical" onmouseout="listReset();"> | <ul id="PKU_subsubmenu" class="vertical" onmouseout="listReset();"> | ||
- | <li class="trunk" style="background-image:url('/wiki/images/ | + | <li class="trunk" style="background-image:url('/wiki/images/b/be/Peking2012_Color_Title_AquaBlue.jpg');" onmouseover="listTrigger(0);"> |
- | <a href="/Team:Peking/Project | + | <a href="/Team:Peking/Project">Overview</a> |
</li><li class="branch" onmouseover="listTrigger(0);"> | </li><li class="branch" onmouseover="listTrigger(0);"> | ||
+ | <ul class="vertical"> | ||
+ | <li> | ||
+ | <a href="/Team:Peking/Project">Motivation</a> | ||
+ | </li><li> | ||
+ | <a href="/Team:Peking/Project/Overview">Achievements</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li><li class="trunk" style="background-image:url('/wiki/images/a/a4/Peking2012_Color_Title_FlameYellow.jpg');" onmouseover="listTrigger(1);"> | ||
+ | <a href="/Team:Peking/Project/Luminesensor">Luminesensor</a> | ||
+ | </li><li class="branch" onmouseover="listTrigger(1);"> | ||
<ul class="vertical"> | <ul class="vertical"> | ||
<li> | <li> | ||
Line 24: | Line 34: | ||
</li> | </li> | ||
</ul> | </ul> | ||
- | </li><li class="trunk" style="background-image:url('/wiki/images/a/a2/Peking2012_Color_Title_FreshGreen.jpg');" onmouseover="listTrigger( | + | </li><li class="trunk" style="background-image:url('/wiki/images/a/a2/Peking2012_Color_Title_FreshGreen.jpg');" onmouseover="listTrigger(2);"> |
<a href="/Team:Peking/Project/Communication">Light Communication</a> | <a href="/Team:Peking/Project/Communication">Light Communication</a> | ||
- | </li><li class="branch" onmouseover="listTrigger( | + | </li><li class="branch" onmouseover="listTrigger(2);"> |
<ul class="vertical"> | <ul class="vertical"> | ||
<li> | <li> | ||
Line 35: | Line 45: | ||
<a href="/Team:Peking/Project/Communication/Results">Results</a> | <a href="/Team:Peking/Project/Communication/Results">Results</a> | ||
</li><li> | </li><li> | ||
- | <a href="/Team:Peking/Project/Communication/Future"> | + | <a href="/Team:Peking/Project/Communication/Future">Perspective</a> |
</li> | </li> | ||
</ul> | </ul> | ||
- | </li><li class="trunk" style="background-image:url('/wiki/images/f/fe/Peking2012_Color_Title_GrapePurple.jpg');" onmouseover="listTrigger( | + | </li><li class="trunk" style="background-image:url('/wiki/images/f/fe/Peking2012_Color_Title_GrapePurple.jpg');" onmouseover="listTrigger(3);"> |
<a href="/Team:Peking/Project/3D">Syn Bio in 2D & 3D</a> | <a href="/Team:Peking/Project/3D">Syn Bio in 2D & 3D</a> | ||
- | </li><li class="branch" onmouseover="listTrigger( | + | </li><li class="branch" onmouseover="listTrigger(3);"> |
<ul class="vertical"> | <ul class="vertical"> | ||
<li> | <li> | ||
Line 52: | Line 62: | ||
</li> | </li> | ||
</ul> | </ul> | ||
- | </li><li class="trunk" style="background-image:url('/wiki/images/5/50/Peking2012_Color_Title_CherryPink.jpg');" onmouseover="listTrigger( | + | </li><li class="trunk" style="background-image:url('/wiki/images/5/50/Peking2012_Color_Title_CherryPink.jpg');" onmouseover="listTrigger(4);"> |
<a href="/Team:Peking/Project/Phototaxis">Phototaxis</a> | <a href="/Team:Peking/Project/Phototaxis">Phototaxis</a> | ||
- | </li><li class="branch" onmouseover="listTrigger( | + | </li><li class="branch" onmouseover="listTrigger(4);"> |
<ul class="vertical"> | <ul class="vertical"> | ||
<li> | <li> | ||
Line 76: | Line 86: | ||
function Following() | function Following() | ||
{ | { | ||
- | sub1hght=sub1hght*0.9+document.documentElement.scrollTop*0.1-10; | + | sub1hght=sub1hght*0.9+(document.documentElement.scrollTop+document.body.scrollTop)*0.1-10; |
if (sub1hght<0) {sub1hght=0;} | if (sub1hght<0) {sub1hght=0;} | ||
subfirst.style.marginTop = sub1hght + 'px'; | subfirst.style.marginTop = sub1hght + 'px'; | ||
Line 86: | Line 96: | ||
* by Sun Sibai | * by Sun Sibai | ||
*/ | */ | ||
- | var sublists_Num = | + | var sublists_Num = 5; //Total Number |
var sublists_Cur = -1; //Current Grow | var sublists_Cur = -1; //Current Grow | ||
var sublists_Now = 0; //Current Page | var sublists_Now = 0; //Current Page | ||
- | var subLhght = [120,120,120,90]; //Unit: Pixel | + | var subLhght = [60,120,120,120,90]; //Unit: Pixel |
- | var subLhght_Cur = [0,0,0,0]; //Unit: Pixel | + | var subLhght_Cur = [0,0,0,0,0]; //Unit: Pixel |
- | var subLhand_Wither = [null,null,null,null]; | + | var subLhand_Wither = [null,null,null,null,null]; |
var subLhand_Growth = null; | var subLhand_Growth = null; | ||
var subLhand_Return = null; | var subLhand_Return = null; |
Latest revision as of 05:25, 26 October 2012