Team:UCLondon/Templates/Content-Slide
From 2012e.igem.org
(Difference between revisions)
Line 154: | Line 154: | ||
<script type="text/javascript" src="http://dl.dropbox.com/u/3703109/igeme/slides.min.jquery.js"></script> | <script type="text/javascript" src="http://dl.dropbox.com/u/3703109/igeme/slides.min.jquery.js"></script> | ||
<script type="text/javascript" src="http://dl.dropbox.com/u/3703109/igeme/slide.js"></script> | <script type="text/javascript" src="http://dl.dropbox.com/u/3703109/igeme/slide.js"></script> | ||
- | <script type="text/javascript" src="http:// | + | <script type="text/javascript" src="http://shama.github.com/jmpress.js/dist/jmpress.js"></script> |
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 248: | Line 248: | ||
var slide = document.createElement("div"); | var slide = document.createElement("div"); | ||
- | slide.setAttribute("id", " | + | slide.setAttribute("id", "jmpress"); |
slide.setAttribute("style", "overflow:hidden;"); | slide.setAttribute("style", "overflow:hidden;"); | ||
Line 260: | Line 260: | ||
$('#shadow4').toggle('slow', function() { | $('#shadow4').toggle('slow', function() { | ||
$(this).children('#box-content4').html(input); | $(this).children('#box-content4').html(input); | ||
- | + | $('#jmpress').jmpress(); | |
}); | }); |
Revision as of 17:13, 19 October 2012