|
|
Line 29: |
Line 29: |
| <td width="610" height="253"><div id="photo"> | | <td width="610" height="253"><div id="photo"> |
| <script> | | <script> |
- | var widths=612; | + | var widths=900; |
- | var heights=253; | + | var heights=372; |
| var counts=6; | | var counts=6; |
- | img1=new Image ();img1.src='https://static.igem.org/mediawiki/2012/9/91/Outlook.jpg'; | + | img1=new Image ();img1.src='https://static.igem.org/mediawiki/2012/4/4a/IMG_2244.jpg'; |
| img2=new Image ();img2.src='https://static.igem.org/mediawiki/2012/3/3e/IMG_0644.jpg'; | | img2=new Image ();img2.src='https://static.igem.org/mediawiki/2012/3/3e/IMG_0644.jpg'; |
| img3=new Image ();img3.src='https://static.igem.org/mediawiki/2012/a/a0/Xmu_photo_001.jpg'; | | img3=new Image ();img3.src='https://static.igem.org/mediawiki/2012/a/a0/Xmu_photo_001.jpg'; |
Line 76: |
Line 76: |
| <!--photos --> | | <!--photos --> |
| | | |
- | <!--description -->
| + | |
- | <td width="290" height="253" bgcolor="#FC49B4"><div id="PhotoDescription" >
| + | |
- | <script type="text/javascript">
| + | |
- | var tc;
| + | |
- | window.onload=function(){
| + | |
- | var o=document.getElementById('wwwzzjsnet');hscroll(o);
| + | |
- | window.setInterval(function(){window.clearTimeout(tc);o.firstChild.style.marginLeft='0px';scrollup(o,20,0);},2000);
| + | |
- | }
| + | |
- | function scrollup(o,d,c){
| + | |
- | if(d==c){
| + | |
- | var t=o.firstChild.cloneNode(true);
| + | |
- | o.removeChild(o.firstChild);o.appendChild(t);
| + | |
- | t.style.marginTop=o.firstChild.style.marginTop='0px';
| + | |
- | hscroll(o);
| + | |
- | }
| + | |
- | else{
| + | |
- | ch=false;var s=3,c=c+s,l=(c>=d?c-d:0);
| + | |
- | o.firstChild.style.marginTop=-c+l+'px';
| + | |
- | window.setTimeout(function(){scrollup(o,d,c-l)},50);
| + | |
- | }
| + | |
- | }
| + | |
- | function hscroll(o){
| + | |
- | var w1=o.firstChild.offsetWidth,w2=o.offsetWidth;
| + | |
- | if(w1<=w2)return;
| + | |
- | tc=window.setTimeout(function(){hs(o,w1-w2,0,w1-w2)},3500);
| + | |
- | }
| + | |
- | function hs(o,d,c,p){
| + | |
- | c++;var t=(c>0?-c:c);o.firstChild.style.marginLeft=t+'px';
| + | |
- | if(c==d){if(d==0){tc=window.setTimeout(function(){hs(o,p,0,p)},2500);}else tc=window.setTimeout(function(){hs(o,0,-p,p)},3500);}
| + | |
- | else tc=window.setTimeout(function(){hs(o,d,c,p)},5);
| + | |
- | }
| + | |
- | </script>
| + | |
- | <div id="wwwzzjsnet"><div>LABORATORY CONCERT</div><div>REAGENT BOTTLES</div><div>MASCOT FOR IGEM </div><div>DISCUSSION</div><div>CENTRIFUGAL TUBE </div><div>CELL IMMOBILIZATION </div></div>
| + | |
- | </div></td>
| + | |
- | <!--description -->
| + | |
| | | |
| | | |
- | <!--<div id="wwwzzjsnet">
| |
- | <div>LABORATORY CONCERT</div><div>REAGENT BOTTLES corner of lab</div>
| |
- | <div>MASCOT FOR IGEM 2012 XMU-China</div>
| |
- | <div>DISCUSSION design group talking over logo</div>
| |
- | <div>CENTRIFUGAL TUBE joining special chemistry</div>
| |
- | <div>CELL IMMOBILIZATION sodium alginatebead</div></div>
| |
- | </div></td>
| |
- | -->
| |
| | | |
| </tr> | | </tr> |