Line 66: | Line 66: | ||
<script> | <script> | ||
var previds = []; | var previds = []; | ||
− | $('.previd').each(function(idx){ previds[idx] = false | + | $('.previd').each(function(idx){ |
− | + | previds[idx] = false; | |
− | + | this.id = 'p' + idx; | |
− | + | this.addEventListener('ended', function(){ | |
− | } | + | previds[+this.id.substr(1)] = true; |
+ | |||
+ | if(previds.every(function(e){ return e; })){ | ||
+ | $('#outtakes').show(); | ||
+ | } | ||
+ | }); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> | ||
{{Groningen/footer}} | {{Groningen/footer}} |
Revision as of 00:00, 2 December 2016