|
|
|
@ -332,11 +332,18 @@
|
|
|
|
|
<script src="liveplayer.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
// using jquery-ui
|
|
|
|
|
//12.5
|
|
|
|
|
$("#shell_03").draggable({ handle: "#shell_03header" });
|
|
|
|
|
$("#week_05").draggable({handle: '#week_05header'});
|
|
|
|
|
$("#resources_05").draggable({handle: '#resources_05header'});
|
|
|
|
|
$("#etherpad_drag").draggable({handle: '#etherpad_drag_header'});
|
|
|
|
|
|
|
|
|
|
//12.6
|
|
|
|
|
$("#shell_06").draggable({ handle: "#shell_06header" });
|
|
|
|
|
$("#week_06").draggable({handle: '#week_06header'});
|
|
|
|
|
$("#resources_06").draggable({handle: '#resources_06header'});
|
|
|
|
|
$("#etherpad_drag_06").draggable({handle: '#etherpad_drag_header_06'});
|
|
|
|
|
|
|
|
|
|
player(document.querySelector("#week_04"), document.querySelector("#iframe_04"));
|
|
|
|
|
player(document.querySelector("#week_03"));
|
|
|
|
|
player(document.querySelector("#week_02"));
|
|
|
|
@ -345,6 +352,10 @@ $("#etherpad_drag").draggable({handle: '#etherpad_drag_header'});
|
|
|
|
|
document.querySelector("#iframe").addEventListener("load",function(){
|
|
|
|
|
document.querySelector("#shell_03").classList.remove("hidden");
|
|
|
|
|
});
|
|
|
|
|
document.querySelector("#iframe").addEventListener("load",function(){
|
|
|
|
|
document.querySelector("#shell_03").classList.remove("hidden");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var iframe_loaded=false;
|
|
|
|
|
document.querySelector("#implicancies_05 #etherpad_drag").addEventListener("load",function(){
|
|
|
|
|
iframe_loaded=true;
|
|
|
|
@ -370,6 +381,30 @@ $("#etherpad_drag").draggable({handle: '#etherpad_drag_header'});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var iframe_loaded=false;
|
|
|
|
|
document.querySelector("#implicancies_06 #etherpad_drag_06").addEventListener("load",function(){
|
|
|
|
|
iframe_loaded=true;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
document.querySelector("#implicancies_06 .etherpadlink_06").addEventListener("click",function(e){
|
|
|
|
|
console.log("click", e);
|
|
|
|
|
document.querySelector("#implicancies_06 #etherpad_drag_06").classList.toggle("hidden");
|
|
|
|
|
if(iframe_loaded){
|
|
|
|
|
console.log("preventDefault")
|
|
|
|
|
e.preventDefault()
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
document.querySelector(".audio_06 #TOC_icon_06").addEventListener("click",function(){
|
|
|
|
|
document.querySelector("#implicancies_06 #week_06").classList.toggle("hidden");
|
|
|
|
|
});
|
|
|
|
|
document.querySelector(".audio_06 #clock_icon_06").addEventListener("click",function(){
|
|
|
|
|
document.querySelector("#implicancies_06 #shell_06").classList.toggle("hidden");
|
|
|
|
|
});
|
|
|
|
|
document.querySelector(".audio_06 #resources_icon_06").addEventListener("click",function(){
|
|
|
|
|
document.querySelector("#implicancies_06 #resources_06").classList.toggle("hidden");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|