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

Line 133: Line 133:
 
             </div>
 
             </div>
  
<video source="https://static.igem.org/mediawiki/2018/c/cf/T--CPU_CHINA--Team_video.mp3" style="width:80%;margin-left:10%;height:auto;"></video>
+
<video id="team-video"source="https://static.igem.org/mediawiki/2018/c/cf/T--CPU_CHINA--Team_video.mp3" style="width:80%;margin-left:10%;height:auto;"></video>
  
 
</body>
 
</body>
Line 142: Line 142:
 
     $(".mw-content-ltr").css("height",document.body.scrollHeight+"px");
 
     $(".mw-content-ltr").css("height",document.body.scrollHeight+"px");
 
})
 
})
 +
 +
/****************************填充视频********************************/
 +
function setAttributions(){
 +
  var parent=document.getElementById("mw-content-text");
 +
  var child=document.getElementById("team-video");
 +
 +
  parent.appendChild(child);
 +
}
 
</script>
 
</script>
 
</html>
 
</html>

Revision as of 01:46, 14 August 2018