Team:UCLondon/Templates/slide-deck

From 2012e.igem.org

(Difference between revisions)
(Created page with "<html> <div id="jmpress" style="width: 100%; margin:auto;"> </html>{{:Team:UCLondon/content/slide1}}<html> </div> <script type="text/javascript" src="http://code.jq...")
 
(41 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<div id="jmpress" style="width: 100%;  margin:auto;">
 
-
        </html>{{:Team:UCLondon/content/slide1}}<html>
 
-
</div>
 
-
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
 
-
<script type="text/javascript" src="http://shama.github.com/jmpress.js/dist/jmpress.js"></script>
 
-
<script>
 
 +
<div id="jmpress" style="width:90%; height:380px !important;">
 +
        </html>{{{file | {{:Team:UCLondon/content/slide1}} }}}<html>
 +
</div>
-
</script>
+
 
-
$(document).ready(function(event) {
+
<script src="http://code.jquery.com/jquery-latest.js"></script>
 +
<script type="text/javascript" src="https://dl.dropbox.com/u/3703109/igeme/js/jmpress.js"></script>
 +
<script>
$('#jmpress').jmpress( {
$('#jmpress').jmpress( {
              
              
               fullscreen : false,
               fullscreen : false,
-
              viewPort: {
+
              viewPort: {
-
height: 600
+
height: 960
-
,width: 1000
+
,width: 720
,maxScale: 1 // do not scale up
,maxScale: 1 // do not scale up
 +
                        //,minScale: 1
}
}
-
               //,hash: { use: false }
+
                
    
    
         });
         });
 +
$(document).ready(function(event){
 +
  $("#jmpress").click(function(event){
 +
        $('#jmpress').jmpress('next');
 +
        return false;
 +
    });
});
});
-
 
+
</script>
</html>
</html>

Latest revision as of 15:30, 20 January 2013