1 # Copyright 2014 Paul Hänsch
3 # This file is part of Serve0
5 # Serve0 is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # Serve0 is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Affero General Public License for more details.
15 # You should have received a copy of the GNU Affero General Public License
16 # along with Serve0 If not, see <http://www.gnu.org/licenses/>.
23 <title>$(. $PAGE title)</title>
24 <style type="text/css">
29 <script type="text/javascript">
31 function show_block(id){
32 document.getElementById(id).style.display = "block";
33 try{document.getElementById('vid_'+id).play();}catch(foo){}
35 function show_inline(id){
36 document.getElementById(id).style.display = "inline";
37 try{document.getElementById('vid_'+id).play();}catch(foo){}
39 function show_iblock(id){
40 document.getElementById(id).style.display = "inline-block";
41 try{document.getElementById('vid_'+id).play();}catch(foo){}
44 try{document.getElementById('vid_'+id).pause();}catch(foo){}
45 document.getElementById(id).style.display = "none";
56 # vi:set filetype=html: