Difference between revisions of "Team:ShanghaitechChina"

Line 271: Line 271:
 
                 </div>
 
                 </div>
 
<div id="transform" data-3700="transform:scale(0) rotate(0deg);" data-4200="transform:scale(1) rotate(1440deg);opacity:1;" data-4800="" data-5300="transform:scale(0) rotate(3240deg);opacity:0;top:10%">
 
<div id="transform" data-3700="transform:scale(0) rotate(0deg);" data-4200="transform:scale(1) rotate(1440deg);opacity:1;" data-4800="" data-5300="transform:scale(0) rotate(3240deg);opacity:0;top:10%">
<img src="https://static.igem.org/mediawiki/2016/2/26/Intro-image.jpg" style="width:80%;">
+
                <div id="huge" style="width:80%;margin-left:9%;margin-top:-5%;">
 +
<img src="https://static.igem.org/mediawiki/2016/2/26/Intro-image.jpg" style="width:100%;">
 +
                </div>
 +
  
 
</div>
 
</div>
  
 
<script>
 
<script>
 +
$('.tiny').click(function(){
 +
     
 +
    var origin=document.getElementById('huge').innerHTML;
 +
    document.getElementById('huge').innerHTML=this.innerHTML;
 +
    this.innerHTML=origin;
 +
});
 
var s = skrollr.init({
 
var s = skrollr.init({
 
//edgeStrategy: 'set',
 
//edgeStrategy: 'set',
Line 285: Line 294:
 
}
 
}
 
});
 
});
$('.tiny').click(function(){
 
     
 
    var origin=document.getElementById('huge').innerHTML;
 
    document.getElementById('huge').innerHTML=this.innerHTML;
 
    this.innerHTML=origin;
 
});
 
 
</script>
 
</script>
  

Revision as of 15:12, 15 October 2016

igem2016:ShanghaiTech

ShanghaiTech University