Effetto Terremoto nell'home page!

codice html

« Older   Newer »
 
  Share  
.
  1. Di&Gi
     
    .

    User deleted


    é da inserire in Gestione codici html>in cima al forum


    CODICE
    <script language="JavaScript">
    <!--Inizio script prelevato da http://allrevolution.forumfree.net/ //-->
    posi = 0;
    function Vibre()
    {
    if(posi<100)
    {
    if(posi/2 == Math.round(posi/2))
    {
    X = Math.round(Math.random()*40)-20;
    Y = Math.round(Math.random()*40)-20;
    window.moveBy(X,Y);
    }
    else
    window.moveBy(-X,-Y);
    posi++;
    tempo=setTimeout('Vibre()',10);
    }
    }
    Vibre()
    </script>


    Vedrete che sorpresa!!!!
     
    .
0 replies since 26/9/2009, 22:29   67 views
  Share  
.