diff --git a/crg-nologo.html b/crg-nologo.html new file mode 100644 index 0000000..c53813d --- /dev/null +++ b/crg-nologo.html @@ -0,0 +1,192 @@ + + + + + LADD Scoreboard + + + + + + + +
+
+

Home

+

-

+
+ +
+

Timeouts

+

0

+

0

+
+ +
+

Home

+

-

+
+ +
+

+

--:--

+
+ +
+

+ + 0 +

+

-:--

+
+ +
+ + diff --git a/res/adverts.js b/res/adverts.js new file mode 100644 index 0000000..c9e1d7e --- /dev/null +++ b/res/adverts.js @@ -0,0 +1,30 @@ +var advert_num = 100 +var advert_itimer + +function adverterror() { + if (advert_num > 1) { + advert_num = 1 + rotate_advert() + } else { + var e = document.getElementById("advert") + clearInterval(advert_itimer) + e.style.visibility = "hidden" + } +} + +function rotate_advert() { + var e = document.getElementById("advert") + var sn + + if (advert_num < 10) { + sn = "0" + advert_num + } else { + sn = advert_num + } + + e.src = "ad" + sn + ".jpg" + + advert_num = advert_num + 1 +} + +advert_itimer = setInterval(rotate_advert, 15000)