/[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

Contents of /jsttyplay/html/pause.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Sat Feb 28 22:33:52 2009 UTC (15 years, 2 months ago) by dpavlin
File MIME type: text/html
File size: 783 byte(s)
toggle pause/play by clicking on console output

1 <html>
2 <head>
3 <script src="showtty.js"></script>
4 <script>
5 function ttyrec_play(data) {
6 // console.log( data );
7 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>
18 </head>
19 <body>
20 <div id="tty" onClick="ttyrec_pause_toggle();">Select TTY recording to play.</div>
21 <div id="ttyrec_status" style="display: none; color: #888">
22 <input type="checkbox" id="ttyrec_pause"><label for="ttyrec_pause">pause</label>
23 frame: <tt id="ttyrec_frame">-</tt>
24 </div>
25
26 <div style="margin-top: 1em;">
27 Test
28 <input type="button" value="test" onClick="ttyrec_play('../../test/test.js');">
29
30 </div>
31
32 </body>
33 </html>

  ViewVC Help
Powered by ViewVC 1.1.26