Counter test page

Home/Counter test page
Counter test page 2017-01-13T09:50:51+00:00

Element 1) A “code block.”

This includes javascript – currently calculating the number of seconds since midnight via 2 different scripts.

<p id=”demo”></p>
var now = new Date(),
then = new Date(
diff = now.getTime() – then.getTime(); // difference in milliseconds
function getMsSinceMidnight(d) {
var e = new Date(d);
return d – e.setHours(0,0,0,0);
document.getElementById(“demo”).innerHTML = diff;
document.write(getMsSinceMidnight(new Date()));

Element 2) A nice “counter box.”

This is a built-in function to the theme.   The count-to number is hardcoded into the function call.

0 babies saved.
Will yours be next?

Spacing filler.