mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 04:54:12 +03:00
MDB5 Free
This commit is contained in:
parent
5b886babfc
commit
e4bcdb8e8f
|
@ -1282,44 +1282,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1271,44 +1271,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1274,44 +1274,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1288,44 +1288,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1451,44 +1451,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1299,44 +1299,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1305,44 +1305,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1316,44 +1316,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1347,44 +1347,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1276,44 +1276,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1299,44 +1299,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1348,44 +1348,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1283,44 +1283,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1295,44 +1295,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1266,44 +1266,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1299,44 +1299,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1268,44 +1268,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1321,44 +1321,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1296,44 +1296,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1266,44 +1266,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1310,44 +1310,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1286,44 +1286,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1287,44 +1287,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1286,44 +1286,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -143,44 +143,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1270,44 +1270,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1286,44 +1286,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1266,44 +1266,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1265,44 +1265,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1269,44 +1269,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1278,44 +1278,14 @@
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1292,44 +1292,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1299,44 +1299,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1269,44 +1269,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1312,44 +1312,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1312,44 +1312,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1264,44 +1264,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1265,44 +1265,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1319,44 +1319,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1269,44 +1269,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1261,44 +1261,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1261,44 +1261,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1271,44 +1271,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1266,44 +1266,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1264,44 +1264,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1275,44 +1275,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1265,44 +1265,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1262,44 +1262,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1259,44 +1259,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1261,44 +1261,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1261,44 +1261,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1268,44 +1268,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1265,44 +1265,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1256,44 +1256,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
62
index.html
62
index.html
|
@ -182,59 +182,23 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6 text-center">
|
<div class="col-md-6 text-center">
|
||||||
<div class="alert alert-dark" role="alert">
|
<div class="alert alert-success" role="alert">
|
||||||
<p class="font-weight-bold">90% OFF for BLACK WEEK</p>
|
<p class="font-weight-bold">New version available - Material Design for Bootstrap 5</p>
|
||||||
<hr>
|
<hr>
|
||||||
<p>UI KIT's, Templates, Plugins, Premium components for Bootstrap, Angular React & Vue - including the latest 🔥 Bootstrap 5 version!</p>
|
<p>Material Design 2.0 + latest Bootstrap 5 based on plain JavaScript (but works also with jQuery). 500+ material UI components, super simple, 1 minute installation, free templates & much more</p>
|
||||||
<strong>Hurry up! All offers are LIMITED</strong><br>
|
<a type="button" id="myBtn" href="https://mdbootstrap.com/download/mdb-ui-kit/free/221KdmzSCAwdMdUHrCI/MDB-UI-KIT-Free-2.2.1.zip" class="btn btn-danger active mt-3" role="button">Free Download</a>
|
||||||
|
</div>
|
||||||
<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>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Ad counter
|
|
||||||
// Set the date we're counting down to
|
const btn = document.getElementById('myBtn');
|
||||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
|
||||||
var counterElement = document.getElementById("time-counter");
|
btn.addEventListener('click', () => {
|
||||||
|
setTimeout(() => {
|
||||||
// Update the count down every 1 second
|
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||||
function startCounter(){
|
}, 500);
|
||||||
|
});
|
||||||
//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>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user