/[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 5 - (show annotations)
Sat Feb 28 22:47:36 2009 UTC (15 years, 2 months ago) by dpavlin
File MIME type: text/html
File size: 977 byte(s)
reset pause checkbox to false on ttyrec_play (button click)

1 <html>
2 <head>
3 <script src="showtty.js"></script>
4 <script>
5 function ttyrec_play(data) {
6 // console.log( data );
7 document.getElementById('ttyrec_pause').checked = false; // play on load
8 showTTYURL(document.getElementById("tty"), data);
9 }
10 function ttyrec_pause_toggle() {
11 var el = document.getElementById('ttyrec_pause');
12 el.checked = ! el.checked;
13 // console.debug('pause', el.checked);
14 }
15 </script>
16
17 <style type="text/css">
18 </style>
19 </head>
20 <body>
21 <div id="tty" onClick="ttyrec_pause_toggle();">Select TTY recording to play.</div>
22 <div id="ttyrec_status" style="display: none; color: #888">
23 <input type="checkbox" id="ttyrec_pause" checked="false"><label for="ttyrec_pause">pause</label>
24 frame: <tt id="ttyrec_frame">-</tt>
25 </div>
26
27 <div style="margin-top: 1em;">
28 Select:
29 <input type="button" value="test" onClick="ttyrec_play('test.js');">
30 <!--
31 <input type="button" value="remote" onClick="ttyrec_play('http://files.encryptio.com/ttydata.js');">
32 -->
33
34 </div>
35
36 </body>
37 </html>

  ViewVC Help
Powered by ViewVC 1.1.26