Team:ETH Zurich/Templates/Flash
From 2011.igem.org
(Difference between revisions)
(5 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
<div class="thumbinner" style="width:</html>{{{widthP2}}}<html>px;"> | <div class="thumbinner" style="width:</html>{{{widthP2}}}<html>px;"> | ||
<div id="</html>{{{name}}}<html>" align="center" style="display: block"> </div> | <div id="</html>{{{name}}}<html>" align="center" style="display: block"> </div> | ||
- | <div style="float: left; display: inline; border: none;" align="left"><img style="cursor:pointer; padding | + | <div style="float: left; display: inline; border: none;" align="left"><img style="cursor:pointer; padding:5px;" src="/wiki/images/f/fb/ETHZ-Play.png" alt="Play" onclick="</html>{{{name}}}<html>_play();" /></div> |
<div class="thumbcaption"></html>{{{text|}}}<html><br /><i>Press play to start video!</i> <div class="magnify"><a href="</html>{{{url|#}}}<html>" class="internal" title="Enlarge"><img src="/wiki/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div></div></div></div></div> | <div class="thumbcaption"></html>{{{text|}}}<html><br /><i>Press play to start video!</i> <div class="magnify"><a href="</html>{{{url|#}}}<html>" class="internal" title="Enlarge"><img src="/wiki/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div></div></div></div></div> | ||
Line 19: | Line 19: | ||
width: </html>{{{width}}}<html>, | width: </html>{{{width}}}<html>, | ||
height: </html>{{{height}}}<html>, | height: </html>{{{height}}}<html>, | ||
- | play: false, | + | play: </html>{{{play|false}}}<html>, |
loop: false, | loop: false, | ||
quality: 'best' | quality: 'best' | ||
}); | }); | ||
+ | if (</html>{{{timeOut|false}}}<html>) | ||
+ | setTimeout("$('#</html>{{{name}}}<html>').flash();",</html>{{{timeOut|0}}}<html>); | ||
} | } | ||
); | ); |
Latest revision as of 18:50, 26 October 2011