Update '12/index_test.html'

master
golub 5 years ago
parent 6825b6dae7
commit 8fbb3645e8

@ -41,50 +41,8 @@
</div> </div>
</div> </div>
<div id="implicancies_06">
<div id="shell_06" class=""><div class="" id="shell_06header">click here to move</div><iframe name="shell" id="iframe_clock" src='blank12_6.html'></iframe></div>
<div id="resources_06" class=""><iframe name="resources" id="iframe_06" src='resources_06.html'></iframe></div>
<!-- <div id="info"><div id="title"></div><div id="authors"></div> -->
<div id="week_06">
<div class="schedule_06">
PROGRAMME #12.6<br>
</div>
<div class="audio_06">
<audio controls="">
<source src="" type="audio/mp3">
<track default="" kind="captions" srclang="en" src="archive_12.6.vtt"></audio>
</div>
<div id="table_content_06">
<ul>
<li id="track_6_1"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_2"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_3"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_4"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_5"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_6"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_7"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_8"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_9"> ⇢ NAME / TRACK / DURATION </li>
<li id="track_6_10"> ⇢ NAME / TRACK / DURATION </li>
</ul>
</div>
</div>
<!--div id="avi_05"><div class="" id="avi_header">click here to move</div><iframe name="avi_05" id="iframe" class="avi_iframe" src='avi_05.html'></iframe></div-->
<br>
<br>
</div>
<br>
<div class="archive">
<div class="previous">
ARCHIVE
</div>
<div id="implicancies_05"> <div id="implicancies_05">
<div id="shell_03" class=""><div class="" id="shell_03header">click here to move</div><iframe name="shell" id="iframe_clock" src='blank12_5.html'></iframe></div> <div id="shell_03" class=""><div class="" id="shell_03header">click here to move</div><iframe name="shell" id="iframe_clock" src='blank12_5.html'></iframe></div>
<div id="info"> <div id="info">
<div id="title"></div> <div id="title"></div>
<div id="authors"></div> <div id="authors"></div>
@ -136,7 +94,10 @@
<br> <br>
<br> <br>
</div> </div>
<div class="archive">
<div class="previous">
ARCHIVE
</div>
<div id="implicancies_04"> <div id="implicancies_04">
<div id="resources_04" class=""><iframe name="resources" id="iframe_04" src='resources_04.html'></iframe></div> <div id="resources_04" class=""><iframe name="resources" id="iframe_04" src='resources_04.html'></iframe></div>
<!-- <div id="info"><div id="title"></div><div id="authors"></div> --> <!-- <div id="info"><div id="title"></div><div id="authors"></div> -->
@ -313,16 +274,11 @@
<script src="liveplayer.js"></script> <script src="liveplayer.js"></script>
<script> <script>
// using jquery-ui // using jquery-ui
//12.5
$("#shell_03").draggable({ handle: "#shell_03header" }); $("#shell_03").draggable({ handle: "#shell_03header" });
$("#week_05").draggable({handle: '#week_05header'}); $("#week_05").draggable({handle: '#week_05header'});
$("#resources_05").draggable({handle: '#resources_05header'}); $("#resources_05").draggable({handle: '#resources_05header'});
$("#etherpad_drag").draggable({handle: '#etherpad_drag_header'}); $("#etherpad_drag").draggable({handle: '#etherpad_drag_header'});
//12.6
$("#etherpad_drag_06").draggable({handle: '#etherpad_drag_header_06'});
player(document.querySelector("#week_04"), document.querySelector("#iframe_04")); player(document.querySelector("#week_04"), document.querySelector("#iframe_04"));
player(document.querySelector("#week_03")); player(document.querySelector("#week_03"));
player(document.querySelector("#week_02")); player(document.querySelector("#week_02"));
@ -331,10 +287,6 @@ $("#etherpad_drag_06").draggable({handle: '#etherpad_drag_header_06'});
document.querySelector("#iframe").addEventListener("load",function(){ document.querySelector("#iframe").addEventListener("load",function(){
document.querySelector("#shell_03").classList.remove("hidden"); document.querySelector("#shell_03").classList.remove("hidden");
}); });
document.querySelector("#iframe_06").addEventListener("load",function(){
document.querySelector("#shell_06").classList.remove("hidden");
});
var iframe_loaded=false; var iframe_loaded=false;
document.querySelector("#implicancies_05 #etherpad_drag").addEventListener("load",function(){ document.querySelector("#implicancies_05 #etherpad_drag").addEventListener("load",function(){
iframe_loaded=true; iframe_loaded=true;
@ -349,21 +301,6 @@ $("#etherpad_drag_06").draggable({handle: '#etherpad_drag_header_06'});
} }
}); });
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_05 #TOC_icon").addEventListener("click",function(){ document.querySelector(".audio_05 #TOC_icon").addEventListener("click",function(){
document.querySelector("#implicancies_05 #week_05").classList.toggle("hidden"); document.querySelector("#implicancies_05 #week_05").classList.toggle("hidden");
}); });

Loading…
Cancel
Save