Skip to content
Snippets Groups Projects
Commit e3b81677 authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

HQ

parent 995d253a
No related branches found
No related tags found
No related merge requests found
source diff could not be displayed: it is too large. Options to address this: view the blob.
var screens = ["SpecOps", "Transmission", "Interception", "Reception", "HQ", 'languages']; var screens = ["SpecOps", "Transmission", "Interception", "Reception", "HQ", 'languages', 'bababalex'];
var inSpecOps = ["SONewReg", "SONewRegForbidden", "SONewJ2", "NewRegAsso", "SONewBalexAsso"]; var inSpecOps = ["SONewReg", "SONewRegForbidden", "SONewJ2", "NewRegAsso", "SONewBalexAsso"];
var inTransmit = ["TransmitChannel", "TransmitStopWords", "TransmitAsso", "TransmitJ2", "TransmitForbidone"]; var inTransmit = ["TransmitChannel", "TransmitStopWords", "TransmitAsso", "TransmitJ2", "TransmitForbidone"];
var inReceive = ["RecChannel", "RecStopW", "RecStopWDebrief", "Rec4", /*"Rec4.2", "Rec4.3",*/ "RecAsso", /*"RecAsso1", "RecAsso2", "RecAsso3"*/]; var inReceive = ["RecChannel", "RecStopW", "RecStopWDebrief", "Rec4","RecAsso"];
var inBalex = ["TransmitHome", "SOHome", "SONewBaLexFW", "SONewBaLex", "SONewBalexAsso"];
var inHQ = ['HQHome', 'PastStopWords', 'PastBottle'];
var theInterval = undefined; //for timers var theInterval = undefined; //for timers
//Code fourni par https://wiki.inkscape.org/wiki/index.php/SVG_with_javascript //Code fourni par https://wiki.inkscape.org/wiki/index.php/SVG_with_javascript
var svgDocument; var svgDocument;
function on_load(evt){ function on_load(evt){
O=evt.target; O=evt.target;
svgDocument=O.ownerDocument; svgDocument=O.ownerDocument;
...@@ -99,7 +100,7 @@ function stopBlinking(id){ ...@@ -99,7 +100,7 @@ function stopBlinking(id){
elt.removeChild(elt_blink); elt.removeChild(elt_blink);
} }
else{ else{
console.log(id, "does not blink"); console.log(id, "does not blinkGuillaume Meinesz <guillaume.meinesz@gmail.com>");
} }
} }
else{ else{
...@@ -162,6 +163,7 @@ function hideAll(elt_list){ ...@@ -162,6 +163,7 @@ function hideAll(elt_list){
function show(eltName, othersToHide, hideEntries){ function show(eltName, othersToHide, hideEntries){
console.log(eltName, othersToHide) console.log(eltName, othersToHide)
if (othersToHide != undefined){ if (othersToHide != undefined){
console.log(othersToHide);
hideAll(othersToHide); hideAll(othersToHide);
} }
if (hideEntries != undefined){ if (hideEntries != undefined){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment