| |||
Re: El Famoso mensaje que sigue al cursor. aki tienes el kodigo <HEAD> <STYLE> .spanstyle { position:absolute; visibility:visible; top:-50px; font-size:8pt; font-family:Verdana; font-weight:light; color:000080; } </STYLE> <script language="JavaScript"> <!-- function MM_displayStatusMsg(msgStr) { //v1.0 status=msgStr; document.MM_returnValue = true; } // ++++++++++++ var x,y var step=20 var flag=0 var message="Esto es el Script " message=message.split("") var xpos=new Array() for (i=0;i<=message.length-1;i++) { xpos[I]=-50 } var ypos=new Array() for (i=0;i<=message.length-1;i++) { ypos[i]=-50 } function handlerMM(e){ x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY flag=1 } function makesnake() { if (flag==1 && document.all) { for (i=message.length-1; i>=1; i--) { xpos[i]=xpos[i-1]+step ypos[i]=ypos[i-1] } xpos[0]=x+step ypos[0]=y for (i=0; i<message.length-1; i++) { var thisspan = eval("span"+(i)+".style") thisspan.posLeft=xpos[i] thisspan.posTop=ypos[i] } } else if (flag==1 && document.layers) { for (i=message.length-1; i>=1; i--) { xpos[i]=xpos[i-1]+step ypos[i]=ypos[i-1] } xpos[0]=x+step ypos[0]=y for (i=0; i<message.length-1; i++) { var thisspan = eval("document.span"+i) thisspan.left=xpos[i] thisspan.top=ypos[i] } } var timer=setTimeout("makesnake()",30) } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } //--> </script> </HEAD> <BODY onLoad="makesnake();MM_preloadImages('tscroll .class','logo.jpg')" style="width:100%;overflow-x:hidden;overflow-y:scroll"> <script> <!-- Beginning of JavaScript - for (i=0;i<=message.length-1;i++) { document.write("<span id='span"+i+"' class='spanstyle'>") document.write(message) document.write("</span>") } if (document.layers){ document.captureEvents(Event.MOUSEMOVE); } document.onmousemove = handlerMM; // - End of JavaScript - --> </script> </BODY> |
| |||
Re: El Famoso mensaje que sigue al cursor. Hola!, <a href='ir.asp?http://misCodigos.jlmnetwork.com/JLMCodigos/script.php?id=150' target='_blank'>http://misCodigos.jlmnetwork.com/JLMCodi...</a> <SCRIPT LANGUAGE="javascript" SRC="http://www.galeon.com/jlmnetwork/firma.js"></SCRIPT> |