Histórico da Página
borderStylenone
Painel
HTML <div style="text-align:center">
<a href="http://tdn.totvs.com/display/framework/Totvs+Discovery" target="_blank"><img src="http://tdn.totvs.com/download/attachments/211058828/b_discovery.jpg?version=1&modificationDate=1536864063000&api=v2" width="98%"></a>
</div>
HTML |
---|
<style type="text/css">
#warning-bloco-k{
font-size:50px;
align:center;
display: none;
}
#countdown-bloco-k {
font-size: 40px;
color:#434343;
display: none;
}
</style>
<p id="warning-bloco-k">Faltam <strong id="countdown-bloco-k">------</strong> para a entrega do Bloco K.
<script >
//------------------------------------------------------------------------------------------------------------------------------
//-----------REMOVER O COMPONENTE INTEIRO DEPOIS DE 1 de JANEIRO de 2019------------
//------------------------------------------------------------------------------------------------------------------------------
// Set the date we're counting down to
var countDownDate = new Date("Jan 1, 2019 00:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get todays date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
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"
document.getElementById("countdown-bloco-k").innerHTML = days + "d " + hours + "h "
+ minutes + "m " + seconds + "s ";
// If the count down is finished, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("warning-bloco-k").style.display = "none"
document.getElementById("countdown-bloco-k").style.display = "none"
}else{
document.getElementById("warning-bloco-k").style.display = "inline"
document.getElementById("countdown-bloco-k").style.display = "inline"
}
}, 1000);
</script>
|
Painel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Painel | |
---|---|
|
borderColor | black |
---|---|
borderStyle | solid |
Visão Geral
Import HTML Content
Conteúdo das Ferramentas
Tarefas