Template:Peking2012 Color Team

From 2012.igem.org

(Difference between revisions)
m
m
Line 16: Line 16:
     <li>
     <li>
     <a href="/Team:Peking/Team">Gallery</a>
     <a href="/Team:Peking/Team">Gallery</a>
-
     <li></li>
+
     </li><li>
     <a href="/Team:Peking/Team/Members">Members</a>
     <a href="/Team:Peking/Team/Members">Members</a>
-
     <li></li>
+
     </li><li>
-
     <a href="/Team:Peking/Team/AA">Attributions & <br /> Acknowledgements</a>
+
     <a href="/Team:Peking/Team/AA">Attributions</a>
     </li>
     </li>
   </ul>
   </ul>
Line 45: Line 45:
<script type="text/javascript">
<script type="text/javascript">
/*
/*
-
  * Peking 2012 Drawer
+
  * Peking 2012 Following
  * by Sun Sibai
  * by Sun Sibai
  */
  */
var subfirst = document.getElementById("PKU_subsubmenu");
var subfirst = document.getElementById("PKU_subsubmenu");
var sub1hght = 0;
var sub1hght = 0;
 +
function Following()
 +
{
 +
  sub1hght=sub1hght*0.9+(document.documentElement.scrollTop+document.body.scrollTop)*0.1-10;
 +
  if (sub1hght<0) {sub1hght=0;}
 +
  subfirst.style.marginTop = sub1hght + 'px';
 +
}
 +
var handleFollowing = setInterval(Following,30);
 +
/*
 +
* Peking 2012 Drawer
 +
* by Sun Sibai
 +
*/
var sublists_Num = 2; //Total Number
var sublists_Num = 2; //Total Number
var sublists_Cur = -1; //Current Grow
var sublists_Cur = -1; //Current Grow

Revision as of 16:54, 21 September 2012