Français
Remplacez les images requises dans le code par des images cloud pour un meilleur effet
<!-- http://js.downcodes.com/ --> <!-- http://bbs.downcodes.com/--> Modifier la copie le code suivant dans le <body> de votre page Web... <script language="JavaScript1.2"> var no = 18; var speed = 2; var snow = new Array(0 ] = "images/ yun.gif" snow[1] = "images/yun.gif" snow[2] = "images/yun.gif" var ns4up = (document.layers) ? 1 : 0; var ie4up = ( document.all) ? 1 : 0; var ns6up = (document.getElementById&&!document.all) ? 1 : 0; var dx, xp, var am, stx, var i, doc_width = 800, doc_height = 1800 ; |ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx = new Array( ); Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); { dx[i] = 0; xp[i] = Math.random()*(doc_width-50); yp[i] = Math.random()*doc_height; ; stx[i] = 0,02 + Math.random()/10; sty[i] = 0,7 + Math.random(); if (ns4up) { if (i == 0) { document.write ("<nom de la couche ="dot"+ i +"" left="15" top="15" visibilité="show"><img src=""+ neige[j] + bordure "" ="0"></layer>"); } else { document.write("<nom du calque="dot"+ i +"" left="15" top= "15" visibilité="show"><img src=""+ snow[j] + "" border="0"></layer>"); } } else if (ie4up ||ns6up) { if (i == 0) { document.write("<div id="dot"+ i +"" style="POSITION : absolue ; Z-INDEX : "+ i +"VISIBILITÉ : visible ; HAUT : 15px ; GAUCHE : 15px ; largeur : 1 ;"><img src="" + neige[j] + "" border="0"></div>" } else { document.write ("<div id="dot"+ i +"" style="POSITION : absolue ; Z-INDEX : "+ i +"VISIBILITÉ : visible ; HAUT : 15 px ; GAUCHE : 15px ; largeur : 1 ; "><img src="" + neige[j] + "" border="0"></div>"); } } if (j == (snow.length- 1)) { j = 0; } else { j += 1; } } function snowNS() { pour (i = 0; i < non; ++ i) { yp[i] -= sty[i]; < -50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = doc_height; stx[i] = 0,02 + Math.random( )/10; [i] = 0,7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx[i] += stx[i]; [i]; document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]); setTimeout("snowNS()" , vitesse); function snowIE_NS6() { for (i = 0; i < non; ++ i) { yp[i] -= sty[i]; if (yp[i] < -50) { xp[i ] = Math.random ()*(doc_width-am[i]-30); yp[i] = doc_height; stx[i] = 0,02 + Math.random()/10; sty[i] = 0,7 + Math. = ns6up?window.innerWidth-5:document.body.clientWidth; doc_height = ns6up?window.innerHeight-5:document.body.clientHeight } dx[i] += stx[i]; all["dot"+i].style.pixelTop = yp[i]; document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math sin(dx[i. ]); } else if (ns6up){ document.getElementById("dot"+i).style.top=yp[i]; document.getElementById("dot"+i).style.left= xp[i] + am[i]*Math.sin(dx[i]); } } setTimeout("snowIE_NS6()", speed); } if (ns4up) { snowNS( } else if (ie4up|| ns6up) { snowIE_NS6( ); } </script>