Team:Freiburg/test2
From 2012.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
function clic() { | function clic() { | ||
alert("bla!") | alert("bla!") | ||
+ | document.theframe.z-index = 3 | ||
} | } | ||
</script> | </script> | ||
Line 52: | Line 53: | ||
<div class="slide"> | <div class="slide"> | ||
<div style="position:absolute;top:10px;left:10px;width:100px;height:100px;background-color:transparent;z-index:2;" onClick="clic()"></div> | <div style="position:absolute;top:10px;left:10px;width:100px;height:100px;background-color:transparent;z-index:2;" onClick="clic()"></div> | ||
- | <iframe style="position:absolute;top:10px;left:10px;width:100px;height:100px;z-index:1" src="http://player.vimeo.com/video/49902809" frameborder="0"></iframe> | + | <iframe name="theframe" style="position:absolute;top:10px;left:10px;width:100px;height:100px;z-index:1" src="http://player.vimeo.com/video/49902809" frameborder="0"></iframe> |
</div> | </div> | ||
Revision as of 12:33, 22 October 2012