From 2eead818292206cc19042a74a102ac76996c16d8 Mon Sep 17 00:00:00 2001 From: Samuel Vermeulen Date: Sat, 18 May 2024 22:31:01 +0200 Subject: [PATCH] Optimisation code --- index.html | 137 +++++++++++++++++++++++++++-------------------------- 1 file changed, 71 insertions(+), 66 deletions(-) diff --git a/index.html b/index.html index eb02f41..3fead7b 100644 --- a/index.html +++ b/index.html @@ -21,73 +21,78 @@
- - - - - - - -

HAUTES-VOSGES

Le Thillot - Bussang - La Bresse

Prog. Hautes-Vosges...
- - - - - -

REMIREMONT

Secteur de Remiremont

Prog. Remiremont 101.8...
-
- - + etat1 = "resume"; + b1.innerHTML = ""; + v1.play(); + } + } + b2.innerHTML = ""; + + function lect_remiremont() { + if (etat2 == "stop") { + etat2 = "play"; + b2.innerHTML = ""; + v2.play(); + } else if (etat2 == "play" || etat2 == "resume") { + etat2 = "pause"; + b2.innerHTML = ""; + v2.pause(); + } else if (etat2 == "pause") { + etat2 = "resume"; + b2.innerHTML = ""; + v2.play(); + } + } +
\ No newline at end of file