From bda8b11811af279fba4d527dd12416a34ae41fe7 Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Mon, 21 Mar 2016 10:09:06 +0100 Subject: [PATCH] Updated log window contents. --- htdocs/index.wrx | 6 ++---- htdocs/openwebrx.js | 11 ++++++++++- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/htdocs/index.wrx b/htdocs/index.wrx index c4f828f..d91bb80 100644 --- a/htdocs/index.wrx +++ b/htdocs/index.wrx @@ -119,10 +119,8 @@
-
OpenWebRX (beta) client log
- Author: HA7ILM. Please send me bug reports and suggestions.
- - Your client ID is: %[CLIENT_ID]
+
OpenWebRX client log
+ Author: AndrĂ¡s Retzler, HA7ILM
You can support OpenWebRX development via PayPal!
diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 723194d..3ac14ae 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -219,6 +219,15 @@ function setSmeterAbsoluteValue(value) //the value that comes from `csdr squelch e("openwebrx-smeter-db").innerHTML=logValue.toFixed(1)+" dB"; } +function typeInAnimation(element,timeout,what,onFinish) +{ + if(!what) { onFinish(); return; } + element.innerHTML+=what[0]; + window.setTimeout( function(){typeInAnimation(element,timeout,what.substring(1),onFinish);}, timeout ); +} + + + // ======================================================== // ================= ANIMATION ROUTINES ================= @@ -1588,7 +1597,7 @@ function audio_init() animate(e("openwebrx-panel-log"),"opacity","",1,0,0.9,1000,60); window.setTimeout(function(){toggle_panel("openwebrx-panel-log");e("openwebrx-panel-log").style.opacity="1";},1200) } - },1000); + },2000); } function on_ws_closed()