Commit 9ecb9ab2 authored by Pietro Incardona's avatar Pietro Incardona

staging file2

parent 6bdb3349
......@@ -10,6 +10,31 @@
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="$relpath^jquery.js"></script>
<script type="text/javascript" src="$relpath^dynsections.js"></script>
<script>
var first_time_pause={};
function hide_show(div_ele)
{
if (document.getElementById(div_ele).style.display == 'none')
{document.getElementById(div_ele).style.display = 'block'}
else
{document.getElementById(div_ele).style.display = 'none'}
}
function video_anim(video_ele, from, to)
{
first_time_pause[video_ele] = false;
document.getElementById(video_ele).addEventListener('loadedmetadata', function() {
this.currentTime = from;}
, false);
document.getElementById(video_ele).addEventListener("timeupdate", function(){
if(this.currentTime >= to && first_time_pause[video_ele]==false) {
first_time_pause[video_ele]=true;
this.pause();
}
});
}
</script>
$treeview
$search
$mathjax
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment