mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-27 09:00:36 +03:00
BF changes4
This commit is contained in:
parent
133f028112
commit
7b73018be2
|
@ -1281,6 +1281,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1270,6 +1270,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1273,6 +1273,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1287,6 +1287,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1450,6 +1450,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1298,6 +1298,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1304,6 +1304,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1315,6 +1315,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1346,6 +1346,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1275,6 +1275,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1298,6 +1298,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1347,6 +1347,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1282,6 +1282,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1294,6 +1294,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1265,6 +1265,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1298,6 +1298,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1267,6 +1267,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1320,6 +1320,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1295,6 +1295,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1265,6 +1265,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1309,6 +1309,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1285,6 +1285,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1286,6 +1286,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1285,6 +1285,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -142,6 +142,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1269,6 +1269,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1285,6 +1285,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1265,6 +1265,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1264,6 +1264,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1268,6 +1268,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1275,6 +1275,20 @@
|
||||||
class="btn btn-outline-danger mt-3">CLAIM OFFER NOW</a>
|
class="btn btn-outline-danger mt-3">CLAIM OFFER NOW</a>
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-12 text-center">
|
||||||
|
<div class="alert alert-dark" role="alert">
|
||||||
|
<p class="font-weight-bold">90% OFF for BLACK WEEK</p>
|
||||||
|
<hr>
|
||||||
|
<p>UI KIT's, Templates, Plugins, Premium components for Bootstrap, Angular React & Vue - including the latest 🔥 Bootstrap 5 version!</p>
|
||||||
|
<strong>Hurry up! All offers are LIMITED</strong><br>
|
||||||
|
|
||||||
|
<span class="font-weight-bold text-poppy-red" id="time-counter"></span><br>
|
||||||
|
<strong>
|
||||||
|
|
||||||
|
<a type="button" href="https://mdbootstrap.com/sale/"
|
||||||
|
class="btn btn-outline-danger mt-3">CLAIM OFFER NOW</a>
|
||||||
|
</strong></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
// Ad counter
|
||||||
|
@ -1318,6 +1332,8 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 id="quick-start">Quick start</h2>
|
<h2 id="quick-start">Quick start</h2>
|
||||||
|
|
|
@ -1291,6 +1291,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1298,6 +1298,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1268,6 +1268,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1311,6 +1311,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1311,6 +1311,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1263,6 +1263,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1264,6 +1264,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1318,6 +1318,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1268,6 +1268,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1260,6 +1260,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1260,6 +1260,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1270,6 +1270,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1265,6 +1265,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1263,6 +1263,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1274,6 +1274,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1264,6 +1264,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1261,6 +1261,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1258,6 +1258,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1260,6 +1260,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1260,6 +1260,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1267,6 +1267,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1264,6 +1264,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1255,6 +1255,47 @@
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
55
index.html
55
index.html
|
@ -195,6 +195,61 @@
|
||||||
class="btn btn-outline-danger mt-3">CLAIM OFFER NOW</a>
|
class="btn btn-outline-danger mt-3">CLAIM OFFER NOW</a>
|
||||||
</strong></div>
|
</strong></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-12 text-center">
|
||||||
|
<div class="alert alert-dark" role="alert">
|
||||||
|
<p class="font-weight-bold">90% OFF for BLACK WEEK</p>
|
||||||
|
<hr>
|
||||||
|
<p>UI KIT's, Templates, Plugins, Premium components for Bootstrap, Angular React & Vue - including the latest 🔥 Bootstrap 5 version!</p>
|
||||||
|
<strong>Hurry up! All offers are LIMITED</strong><br>
|
||||||
|
|
||||||
|
<span class="font-weight-bold text-poppy-red" id="time-counter"></span><br>
|
||||||
|
<strong>
|
||||||
|
|
||||||
|
<a type="button" href="https://mdbootstrap.com/sale/"
|
||||||
|
class="btn btn-outline-danger mt-3">CLAIM OFFER NOW</a>
|
||||||
|
</strong></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Ad counter
|
||||||
|
// Set the date we're counting down to
|
||||||
|
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||||
|
var counterElement = document.getElementById("time-counter");
|
||||||
|
|
||||||
|
// Update the count down every 1 second
|
||||||
|
function startCounter(){
|
||||||
|
|
||||||
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||||
|
if(counterElement==null){
|
||||||
|
return
|
||||||
|
}else {
|
||||||
|
var x = setInterval(
|
||||||
|
|
||||||
|
function () {
|
||||||
|
|
||||||
|
// Get todays date and time
|
||||||
|
var now = new Date().getTime();
|
||||||
|
|
||||||
|
// Find the distance between now an the count down date
|
||||||
|
var distance = countDownDate - now;
|
||||||
|
|
||||||
|
// Time calculations for days, hours, minutes and seconds
|
||||||
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||||
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||||
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||||
|
// Display the result in the element with id="demo"
|
||||||
|
counterElement.innerHTML = hours + "h " +
|
||||||
|
minutes + "m " + seconds + "s";
|
||||||
|
// If the count down is finished, write some text
|
||||||
|
if (distance < 0) {
|
||||||
|
clearInterval(x);
|
||||||
|
document.getElementById("time-counter").innerHTML =
|
||||||
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||||
|
}
|
||||||
|
}, 1000);
|
||||||
|
}}
|
||||||
|
startCounter();
|
||||||
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user