Skip to content

Instantly share code, notes, and snippets.

Created December 2, 2012 18:56
Show Gist options
  • Save anonymous/4190442 to your computer and use it in GitHub Desktop.
Save anonymous/4190442 to your computer and use it in GitHub Desktop.
document.getElementById('episode1').addEventListener('click',function(evt) {
showEpisode('ep1_player'); evt.stopPropagation();
});
document.getElementById('episode2').addEventListener('click',function(evt) {
showEpisode('ep2_player'); evt.stopPropagation();
});
document.getElementById('episode3').addEventListener('click',function(evt) {
showEpisode('ep3_player'); evt.stopPropagation();
});
document.getElementById('episode4').addEventListener('click',function(evt) {
showEpisode('ep4_player'); evt.stopPropagation();
});
document.getElementById('episode5').addEventListener('click',function(evt) {
showEpisode('ep5_player'); evt.stopPropagation();
});
document.getElementById('episode6').addEventListener('click',function(evt) {
showEpisode('ep6_player'); evt.stopPropagation();
});
document.getElementById('episode1_preview').addEventListener('click',function(evt) {
showEpisode('ep1_preview_player'); evt.stopPropagation();
});
document.getElementById('episode2_preview').addEventListener('click',function(evt) {
showEpisode('ep2_preview_player'); evt.stopPropagation();
});
document.getElementById('episode3_preview').addEventListener('click',function(evt) {
showEpisode('ep3_preview_player'); evt.stopPropagation();
});
document.getElementById('episode4_preview').addEventListener('click',function(evt) {
showEpisode('ep4_preview_player'); evt.stopPropagation();
});
document.getElementById('episode5_preview').addEventListener('click',function(evt) {
showEpisode('ep5_preview_player'); evt.stopPropagation();
});
document.getElementById('episode6_preview').addEventListener('click',function(evt) {
showEpisode('ep6_preview_player'); evt.stopPropagation();
});
document.getElementById('episode2_outtakes').addEventListener('click',function(evt) {
showEpisode('ep2_outtakes_player'); evt.stopPropagation();
});
document.getElementById('episode3_outtakes').addEventListener('click',function(evt) {
showEpisode('ep3_outtakes_player'); evt.stopPropagation();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment