paulo Mestre
Número de Mensagens : 69 Idade : 28 Localização : Umuarama,Parana Experiencia em Webdesign : Medio Pontos : 5884 Reputação : 5 Data de inscrição : 13/07/2008
| Assunto: UM TEXTO QUE CIRCULA A SETA DO MOUSE 12/8/2008, 4:13 am | |
| PRESTEM BEM ATENÇÃO AE EU SEI QUE VOCÊS NAO SÃO BURROS MAIS SE TIVER ALGUMA DUVIDA OPA ESTOU A DESPOSIÇÃO - Código:
-
<html> <head>
<title>PROJECT HTML.TK</title> <SCRIPT language=JavaScript>
<!-- Begin if (document.all) { //Things you can alter yourLogo = " PROJECTHTML.TK "; logoFont = "Arial"; logoColor = "#FF0000"; //Nothing needs altering below! yourLogo = yourLogo.split(''); L = yourLogo.length; TrigSplit = 360 / L; Sz = new Array() logoWidth = 100; logoHeight = -30; ypos = 0; xpos = 0; step = 0.03; currStep = 0; document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">'); for (i = 0; i < L; i++) { document.write('<div id="ie" style="position:absolute;top:0px;left:0px;' +'width:10px;height:10px;font-family:'+logoFont+';font-size:12px;' +'color:'+logoColor+';text-align:center">'+yourLogo[i]+'</div>'); } document.write('</div></div>'); function Mouse() { ypos = event.y; xpos = event.x - 5; } document.onmousemove=Mouse; function animateLogo() { outer.style.pixelTop = document.body.scrollTop; for (i = 0; i < L; i++) { ie[i].style.top = ypos + logoHeight * Math.sin(currStep + i * TrigSplit * Math.PI / 180); ie[i].style.left = xpos + logoWidth * Math.cos(currStep + i * TrigSplit * Math.PI / 180); Sz[i] = ie[i].style.pixelTop - ypos; if (Sz[i] < 5) Sz[i] = 5; ie[i].style.fontSize = Sz[i] / 1.7; } currStep -= step; setTimeout('animateLogo()', 20); } window.onload = animateLogo; } // End --> </SCRIPT> </head> <body> <form> <div align="center"> <center> <p> <font color="#000000"> </font> </p> </center> </div> </form>
</b> </font></p> </body> </html>
| |
|