Skip to content
Snippets Groups Projects
Commit 9ecb9ab2 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

staging file2

parent 6bdb3349
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment