Team:UCLondon/Templates/slide-deck
From 2012e.igem.org
(Difference between revisions)
(23 intermediate revisions not shown) | |||
Line 13: | Line 13: | ||
<script src="http://code.jquery.com/jquery-latest.js"></script> | <script src="http://code.jquery.com/jquery-latest.js"></script> | ||
- | <script type="text/javascript" src=" | + | <script type="text/javascript" src="https://dl.dropbox.com/u/3703109/igeme/js/jmpress.js"></script> |
<script> | <script> | ||
$('#jmpress').jmpress( { | $('#jmpress').jmpress( { | ||
- | fullscreen : false | + | fullscreen : false, |
+ | viewPort: { | ||
+ | height: 960 | ||
+ | ,width: 720 | ||
+ | ,maxScale: 1 // do not scale up | ||
+ | //,minScale: 1 | ||
+ | } | ||
}); | }); | ||
- | + | $(document).ready(function(event){ | |
$("#jmpress").click(function(event){ | $("#jmpress").click(function(event){ | ||
$('#jmpress').jmpress('next'); | $('#jmpress').jmpress('next'); | ||
return false; | return false; | ||
- | }) | + | }); |
+ | }); | ||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 15:30, 20 January 2013