Difference between revisions of "Team:CPU CHINA/Team"

Line 70: Line 70:
 
a:visited{color:purple;}
 
a:visited{color:purple;}
  
 +
#anniu {
 +
      position: relative;
 +
      top: 70px;
 +
      transition: top 0.2s;
 +
      left: 50%;
 +
      margin: 0 0 0 -50px;
 +
    }
 +
 +
    #anniu>img {
 +
      height: 100px;
 +
    }
 +
 +
    #anniu:hover {
 +
      top: 90px;
 +
    }
  
 
</style>
 
</style>
Line 176: Line 191:
 
     Your browser does not support the video tag.
 
     Your browser does not support the video tag.
 
</video>
 
</video>
 +
 +
<div id="anniu" style="top:150px;">
 +
      <a id="anniu" href="#tiaozhuan">
 +
        <img src="https://static.igem.org/mediawiki/2017/7/7e/T--HZAU-China--arrow.gif">
 +
      </a>
 +
</div>
  
 
<div id="photo1" style="position:relative;top:150px;margin-left:5%;background:url(https://static.igem.org/mediawiki/2018/2/2e/T--CPU_CHINA--team-DSC00332.png);background-repeat:no-repeat;background-size:cover;">
 
<div id="photo1" style="position:relative;top:150px;margin-left:5%;background:url(https://static.igem.org/mediawiki/2018/2/2e/T--CPU_CHINA--team-DSC00332.png);background-repeat:no-repeat;background-size:cover;">
Line 193: Line 214:
 
   $("#team-video").css("height",$(window).height()*0.7+"px");
 
   $("#team-video").css("height",$(window).height()*0.7+"px");
 
   var parent=document.getElementById("mw-content-text");
 
   var parent=document.getElementById("mw-content-text");
   var child=document.getElementById("team-video");
+
   var child1=document.getElementById("team-video");
+
  var child2=document.getElementById("anniu");
   parent.appendChild(child);
+
 
 +
  parent.appendChild(child1);
 +
   parent.appendChild(child2);
 
}
 
}
  

Revision as of 07:19, 24 August 2018