mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-25 11:04:09 +03:00
MDB5 Free
This commit is contained in:
parent
5b886babfc
commit
e4bcdb8e8f
|
@ -1282,44 +1282,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1271,44 +1271,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1274,44 +1274,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1288,44 +1288,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1451,44 +1451,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1299,44 +1299,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1305,44 +1305,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1316,44 +1316,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1347,44 +1347,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1276,44 +1276,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1299,44 +1299,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1348,44 +1348,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1283,44 +1283,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1295,44 +1295,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1266,44 +1266,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1299,44 +1299,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1268,44 +1268,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1321,44 +1321,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1296,44 +1296,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1266,44 +1266,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1310,44 +1310,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1286,44 +1286,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1287,44 +1287,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1286,44 +1286,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -143,44 +143,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1270,44 +1270,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1286,44 +1286,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1266,44 +1266,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1265,44 +1265,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1269,44 +1269,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1278,44 +1278,14 @@
|
|||
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1292,44 +1292,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1299,44 +1299,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1269,44 +1269,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1312,44 +1312,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1312,44 +1312,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1264,44 +1264,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1265,44 +1265,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1319,44 +1319,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1269,44 +1269,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1261,44 +1261,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1261,44 +1261,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1271,44 +1271,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1266,44 +1266,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1264,44 +1264,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1275,44 +1275,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1265,44 +1265,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1262,44 +1262,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1259,44 +1259,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1261,44 +1261,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1261,44 +1261,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1268,44 +1268,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1265,44 +1265,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -1256,44 +1256,14 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
62
index.html
62
index.html
|
@ -182,59 +182,23 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="col-md-6 text-center">
|
||||
<div class="alert alert-dark" role="alert">
|
||||
<p class="font-weight-bold">90% OFF for BLACK WEEK</p>
|
||||
<div class="alert alert-success" role="alert">
|
||||
<p class="font-weight-bold">New version available - Material Design for Bootstrap 5</p>
|
||||
<hr>
|
||||
<p>UI KIT's, Templates, Plugins, Premium components for Bootstrap, Angular React & Vue - including the latest 🔥 Bootstrap 5 version!</p>
|
||||
<strong>Hurry up! All offers are LIMITED</strong><br>
|
||||
|
||||
<span class="font-weight-bold text-poppy-red" id="time-counter"></span><br>
|
||||
<strong>
|
||||
|
||||
<a type="button" href="https://mdbootstrap.com/sale/"
|
||||
class="btn btn-outline-danger mt-3">CLAIM OFFER NOW</a>
|
||||
</strong></div>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Ad counter
|
||||
// Set the date we're counting down to
|
||||
var countDownDate = new Date(Date.UTC(2020, 11, 12, 12, 00, 00));
|
||||
var counterElement = document.getElementById("time-counter");
|
||||
|
||||
// Update the count down every 1 second
|
||||
function startCounter(){
|
||||
|
||||
//wrapped in an if to prevent console errors if the element isn't found on the page
|
||||
if(counterElement==null){
|
||||
return
|
||||
}else {
|
||||
var x = setInterval(
|
||||
|
||||
function () {
|
||||
|
||||
// Get todays date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now an the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
// Display the result in the element with id="demo"
|
||||
counterElement.innerHTML = hours + "h " +
|
||||
minutes + "m " + seconds + "s";
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("time-counter").innerHTML =
|
||||
'<p class="h3 grey-text">Sale ended :(</p>';
|
||||
}
|
||||
}, 1000);
|
||||
}}
|
||||
startCounter();
|
||||
|
||||
const btn = document.getElementById('myBtn');
|
||||
|
||||
btn.addEventListener('click', () => {
|
||||
setTimeout(() => {
|
||||
window.location.href = 'https://mdbootstrap.com/docs/standard/?utm_ref_id=28683';
|
||||
}, 500);
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user