OPEN Test Page – icebox modules

Theme page header

This code needs to go into the theme page header. WordPress builds up a page relatively slowly, so we need to add setTimeout in a few places to make sure the guesser/ticker code doesn’t run before the host DOM is in place for it.

The sibling thing is because WordPress themes can be pretty weird about letting you create host divs in the UI, especially when a visual page builder plugin is active.

<link href="" rel="stylesheet" type="text/css">
<script src=""></script>
      <script crossorigin src=""></script>
<script src=""></script>
<script charset="utf-8">
setTimeout(function() {
console.log("setting config");
window.ICEBOX_CONFIG = { apiRoot: "", contestTitle: "sydney", debug: true, contestBefore: "#guesser-sibling", tickerBefore: "#ticker-sibling" };
}, 1500);

ticker module

The ticker is the sensor data from the boxes.

put ticker before this div…

latest webcam images

Australian Code box
Passive House box

guesser module

The guesser is the animated form for collecting contest guesses.

put guesser before this div…