/[ttyrec]/jsttyplay/html/pause.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jsttyplay/html/pause.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by dpavlin, Sat Feb 28 22:13:23 2009 UTC revision 4 by dpavlin, Sat Feb 28 22:33:52 2009 UTC
# Line 1  Line 1 
1  <html>  <html>
2  <head>  <head>
3  <script src="showtty.js"></script>  <script src="showtty.js"></script>
4  <style type="text/css">  <script>
5  #ttyrec_status {  function ttyrec_play(data) {
6          color: #888;  //      console.log( data );
7          display: none;          showTTYURL(document.getElementById("tty"), data);
8    }
9    function ttyrec_pause_toggle() {
10            var el = document.getElementById('ttyrec_pause');
11            el.checked = ! el.checked;
12            console.debug('pause', el.checked);
13  }  }
14    </script>
15    
16    <style type="text/css">
17  </style>  </style>
18  </head>  </head>
19  <body>  <body>
20  <div id="tty">Select TTY recording to play.</div>  <div id="tty" onClick="ttyrec_pause_toggle();">Select TTY recording to play.</div>
21  <div id="ttyrec_status">  <div id="ttyrec_status" style="display: none; color: #888">
22  <input type="checkbox" id="ttyrec_pause"><label for="ttyrec_pause">pause</label>  <input type="checkbox" id="ttyrec_pause"><label for="ttyrec_pause">pause</label>
23  frame: <tt id="ttyrec_frame">-</tt>  frame: <tt id="ttyrec_frame">-</tt>
24  </div>  </div>
25    
 <script>  
 function ttyrec_play(data) {  
 //      console.log( data );  
         showTTYURL(document.getElementById("tty"), data);  
 }  
 </script>  
   
26  <div style="margin-top: 1em;">  <div style="margin-top: 1em;">
27  Test  Test
28  <input type="button" value="test" onClick="ttyrec_play('../../test/test.js');">  <input type="button" value="test" onClick="ttyrec_play('../../test/test.js');">

Legend:
Removed from v.3  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.26