effetto terremoto

« Older   Newer »
  Share  
the_kill_of_dark
view post Posted on 16/10/2011, 11:18     +1   -1




Ecco il codice........Va inserito in gestione codici html ossia in home pag

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>
 
Top
0 replies since 16/10/2011, 11:18   51 views
  Share