Template:Team Linkoping/popup video
From 2013.igem.org
(Difference between revisions)
(23 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <html><body><iframe width=" | + | <html> |
+ | <head> | ||
+ | <script type="text/javascript"> | ||
+ | function hide_video(){ | ||
+ | document.getElementById("cover").style.display= 'none'; | ||
+ | } | ||
+ | </script> | ||
+ | </head> | ||
+ | <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 style="position:absolute;margin-left:50%;margin-top:5%;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> | ||
+ | </body> | ||
+ | <script type="text/javascript"> | ||
+ | setTimeout("hide_video();",568000); | ||
+ | </script> | ||
+ | </html> |
Latest revision as of 18:46, 24 October 2013