Team:Tianjin/Notebook

From 2011.igem.org

(Difference between revisions)
Line 6: Line 6:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled</title>
<title>Untitled</title>
 +
<script type="text/javascript" src="http://ryf010.web-43.com/js/4.js"></script>
<script type='text/javascript'>
<script type='text/javascript'>
-
  var roller=function(){
+
  $(document).ready(function(){
-
return{
+
  $('.rl').css('display','none');
-
init:function(el,ty,sx,ex,d,st){
+
  $('#D').css('display','block');
-
e=document.getElementById(el);if(!e){return;}a=e.getElementsByTagName("a");
+
  };
-
for(i=0;i<a.length;i++){
+
-
if(!a[i].id){a[i].id=el.id+i;}
+
-
a[i].n=a[i].o=sx;a[i].en=ex; a[i].ty=ty;
+
-
if(a[i].ty=='v'){a[i].style.backgroundPosition = '0px '+a[i].n+'px';}
+
-
else if(a[i].ty=='h'){a[i].style.backgroundPosition = a[i].n+'px 0px';}
+
-
else{return;}
+
-
a[i].onmouseover=roller.o;a[i].onmouseout=roller.o;
+
-
a[i].st=Math.abs(Math.abs(ex-sx)/st);a[i].t=d/st;
+
-
}
+
-
},
+
-
o:function(e){
+
-
e=e||window.event;c=e.target!=null?e.target:e.srcElement;
+
-
if(c.nodeName=='A')
+
-
if(e.type=="mouseover"){
+
-
c.w=c.en;roller.s(c);
+
-
}
+
-
else if(c.nodeName=='A'){c.w=c.o;roller.s(c);}
+
-
},
+
-
s:function(e){
+
-
if(e.ti){clearTimeout(e.ti);}
+
-
if(Math.abs(e.n-e.w)<e.st){e.n=e.w;}
+
-
else if(e.n<e.w){e.n=e.n+e.st;}
+
-
else if(e.n>e.w){e.n=e.n-e.st;}
+
-
if(e.ty=='v'){e.style.backgroundPosition = '0px '+e.n+'px';}
+
-
else{e.style.backgroundPosition = e.n+'px 0px';}
+
-
if(e.n==e.w){clearTimeout(e.ti);return;}
+
-
e.ti=setTimeout(function(){roller.s(e)}, e.t);
+
-
}
+
-
}
+
-
}();
+
</script>
</script>
-
 
<style type="text/css">
<style type="text/css">
body{
body{
Line 287: Line 257:
         <div id="main">
         <div id="main">
     <div id="title">
     <div id="title">
-
                 <div class="rl" id="rlm">
+
                 <div class="rl">
             <ul style="list-style:none">
             <ul style="list-style:none">
-
                 <li id="Dec"> <img src="https://static.igem.org/mediawiki/2011/3/3c/TJU-Notepad-Calender-Dec.png">
+
                 <li id="D"> <img src="https://static.igem.org/mediawiki/2011/3/3c/TJU-Notepad-Calender-Dec.png">
                    
                    
                 <li id="Jan">  <img src="https://static.igem.org/mediawiki/2011/6/68/TJU-Notepad-Calender-Jan.png">
                 <li id="Jan">  <img src="https://static.igem.org/mediawiki/2011/6/68/TJU-Notepad-Calender-Jan.png">
Line 316: Line 286:
                 </ul>
                 </ul>
             </div>
             </div>
 +
    </div>
       <div id="content">
       <div id="content">
             <div id="content">
             <div id="content">

Revision as of 18:30, 26 September 2011

Template:Https://2011.igem.org/Team:Peking S/bannerhidden Template:Https://2011.igem.org/Team:Peking S/back2 Untitled





Yingjin Yuan

Wenyu Lu

Bin Jia

Boxuan Zeng

Mingrui Zhao

Jing Guo

Yunfei Ran