2010-05-17 8 views

Répondre

2

Oui, chaque plug-in a son classement par étoiles sur la page jQuery, vous pouvez donc l'utiliser comme référence.

Personnellement, j'ai utilisé celui-ci avant: http://keith-wood.name/countdown.html qui est le même que celui que vous avez fourni.

0

Faire un compte à rebours serait assez facile.

<html> 
<body> 
    <span id="sample">10</span> 
    <script type="text/javascript" language="javascript"> 
     var countDownFrom = 10; 
     var intervalId = setInterval(function() 
     { 
      if(countDownFrom == 0) 
       clearInterval(intervalId); 

      document.getElementById('sample').innerHTML = countDownFrom.toString(); 
      countDownFrom--; 
     }, 1000); 
    </script> 
</body> 
</html>