Template:Team Linkoping/popup video

From 2013.igem.org

(Difference between revisions)
Line 9: Line 9:
<body>
<body>
<div id="cover" style="position:fixed; top: 0; left: 0;width:100%;height:100%;background-color: rgba(0, 0, 0, 0.6);cursor:pointer;" onclick="hide_video();">
<div id="cover" style="position:fixed; top: 0; left: 0;width:100%;height:100%;background-color: rgba(0, 0, 0, 0.6);cursor:pointer;" onclick="hide_video();">
-
<div style="position:absolute;margin-left:50%;margin-top:10%;left:-390px;"><iframe width="780" height="639" style="margin-left:20px;margin-top:10px;"src="//www.youtube.com/embed/cNLbfJ47iCc?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
+
<div style="position:absolute;margin-left:50%;left:-390px;"><iframe width="780" height="639" style="margin-left:20px;margin-top:10px;"src="//www.youtube.com/embed/cNLbfJ47iCc?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</body>
</body>
</html>
</html>

Revision as of 11:55, 2 October 2013