garfield

[COD]: Contagem regressiva de download.

Jul 19th, 2011
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head><title> LinkDown By:[iPs]Garfield </title></head>
  3. <body onLoad='startCountdown()'>
  4. <SCRIPT>
  5. //<![CDATA[
  6. var Contar = new Number(); //
  7. var Contar = 30; // Contagem
  8. var Link = "http://ips-team.forumeiros.com"; // Link do Download
  9. function startCountdown()
  10. {
  11.        if((Contar - 1) >= 0)
  12.        {
  13.             Contar = Contar - 1;
  14.             numberCountdown.innerText =   + Contar;
  15.             setTimeout('startCountdown()',1000);       
  16.                
  17.        }
  18.        if(Contar == 0)
  19.        {
  20.             numberCountdown.innerText = 'Download';
  21.             document.write("<Center>Download</center>".link(Link));
  22.             Checkar();
  23.        }
  24. }
  25. //]]>
  26. </SCRIPT>
  27. <b><div><div id=numberCountdown align=center></div></b>
  28. </html>
Add Comment
Please, Sign In to add comment