Team:UCLondon/Templates/Content-Slide
From 2012e.igem.org
(Difference between revisions)
Line 259: | Line 259: | ||
$('#shadow4').toggle('slow', function() { | $('#shadow4').toggle('slow', function() { | ||
+ | if (! started){ | ||
$(this).children('#box-content4').html(input); | $(this).children('#box-content4').html(input); | ||
$('#jmpress').jmpress( { | $('#jmpress').jmpress( { | ||
Line 272: | Line 273: | ||
}); | }); | ||
// focus the element so that clicks and arrows work | // focus the element so that clicks and arrows work | ||
- | + | } | |
- | + | $('#jmpress').focus(); | |
}); | }); | ||
return false; | return false; |
Revision as of 01:10, 20 October 2012