como configurarlo para que funcione de derecha a izquierda?
Os pongo el código completo_
Código:
hasta ahi el code podeis ayudarme? <html> <body> <p> </p> <p> </p> <p> </p> <div id="datacontainer" style="position:absolute;left:1px;top:10px;width:100%" onMouseover="scrollspeed=0" onMouseout="scrollspeed=cache"> <p> <!-- ADD YOUR SCROLLER CONTENT INSIDE HERE --> AKI PONGO EL TEXTO </p> <p>QUE QUIERA O LAS F</p> <p>OTOS O O LO QUE SEA HOLA ASSS <!-- END SCROLLER CONTENT --> </p> </p> </div> <script type="text/javascript"> /*********************************************** * IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ //Specify speed of scroll. Larger=faster (ie: 5) var scrollspeed=cache=2 //Specify intial delay before scroller starts scrolling (in miliseconds): var initialdelay=500 function initializeScroller(){ dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer") dataobj.style.top="5px" setTimeout("getdataheight()", initialdelay) } function getdataheight(){ thelength=dataobj.offsetHeight if (thelength==0) setTimeout("getdataheight()",10) else scrollDiv() } function scrollDiv(){ dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed+"px" if (parseInt(dataobj.style.top)<thelength*(-1)) dataobj.style.top="5px" setTimeout("scrollDiv()",40) } if (window.addEventListener) window.addEventListener("load", initializeScroller, false) else if (window.attachEvent) window.attachEvent("onload", initializeScroller) else window.onload=initializeScroller </script> </body> </html>