Script de cuentas atras

  • Autor Autor deallunpoco
  • Fecha de inicio Fecha de inicio
deallunpoco

deallunpoco

Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
nesesito este codigo el del contador, y los comentarios que aparesen y el lin al finar del contel tal y como aparese aqui un ejemplo (Link will appear in 1 Second laptop Driver Download) como puedo optenerlo?
 
Bienvenido :sorrow:
 
Click derecho ver codigo fuente:

Antes del </head>
<script type='text/javascript'>
//<![CDATA[
function generate() {
var linkDL = document.getElementById("download"),
btn = document.getElementById("btn"),
notif = document.getElementById("daplong"),
direklink = document.getElementById("download").href,
waktu = 6;
var teks_waktu = document.createElement("span");
linkDL.parentNode.replaceChild(teks_waktu, linkDL);
var id;
id = setInterval(function () {
waktu--;
if (waktu < 0) {
teks_waktu.parentNode.replaceChild(linkDL, teks_waktu);
clearInterval(id);
notif.style.display = "none";
linkDL.style.display = "inline";
} else {
teks_waktu.innerHTML = "<h2>Link will appear in " + waktu.toString() + " Second</h2>";
btn.style.display = "none";
}
}, 1000);
}
//]]>
</script>


Y abajo en el body
<button id="download" class="Visit_Link" onclick="changeLink();" style="display: none;text-align:justify;margin-bottom:2px;">Visit Link</button>
 
Atrás
Arriba