Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
var oTime1 = new Date("4 12, 0:0:0"); // Zeit für Timer 1
var oTime2 = new Date("5 12, 0:0:0"); // Zeit für Timer 2
function countDown(a_sId, a_oDate)
[...]
iStampFuture = a_oDate.getTime();
// und dann jeweils bei allen getElementById()'s, das oCountDown austauschen:
window.document.getElementById(a_sId + "Days")
// und das
window.document.getElementById('oAllDate').
// wird zu
window.document.getElementById(a_sId).
// und der body:
<body onload="countdown('Timer1', oTime1); countdown('Timer2', oTIme2);">
// und so einbinden:
<span id="Timer1">
<span id="Timer1Days"></span> Tage,
<span id="Timer1Hours"></span> Stunden,
<span id="Timer1Minutes"></span> Minuten,
<span id="Timer1Seconds"></span> Sekunden
</span>
// und der zweite Countdown:
<span id="Timer2">
<span id="Timer2Days"></span> Tage,
<span id="Timer2Hours"></span> Stunden,
<span id="Timer2Minutes"></span> Minuten,
<span id="Timer2Seconds"></span> Sekunden
</span>