livebox:universalrf:rfplot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
livebox:universalrf:rfplot [2013/06/06 10:11] – created brettlivebox:universalrf:rfplot [2013/06/06 10:14] (current) brett
Line 1: Line 1:
 <HTML> <HTML>
-<head> 
-<title>Pulse definition plotter</title> 
 <style type="text/css"> <style type="text/css">
 * { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:0.98em } * { font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:0.98em }
Line 107: Line 105:
 function scale(x) { return x < 0 ? 0 : 1; } function scale(x) { return x < 0 ? 0 : 1; }
 function sign(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; } function sign(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; }
-function OnLoad() +
- {+
  $('input#textbtn').click(function() {  $('input#textbtn').click(function() {
  var text = $('textarea#mytextarea').val();  var text = $('textarea#mytextarea').val();
Line 125: Line 122:
     $('textarea#mytextarea').val(pulse_train);      $('textarea#mytextarea').val(pulse_train);
  GraphIT();  GraphIT();
-} 
  
 function GraphIT() { function GraphIT() {
Line 193: Line 189:
  }  }
 </script> </script>
-</head> 
-<body class="gui" onload='OnLoad();'> 
 <div id="wrapper"> <div id="wrapper">
 <div id="main"> <div id="main">
Line 217: Line 211:
 <input id="urfbtn" type="submit" value="Plot it"> <input id="urfbtn" type="submit" value="Plot it">
 </fieldset> </fieldset>
-</br>+<br/>
  
 </div></div></div> </div></div></div>
-</body> 
 </HTML> </HTML>
  • livebox/universalrf/rfplot.1370513504.txt.gz
  • Last modified: 2013/06/06 10:11
  • by brett