<html> <head> <title>:: Texto rolante ::</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <script language="JavaScript1.2"> /***************************************** Script desenvolvido por Adilson de Almeida Pedro site: www.webfrelancer.com.br e-mail: adiilson@webfreelancer.com.br *****************************************/ //configura��es------------------------------------------------ var texto='coloque<br> seu <br>texto <br>aqui<br><a href=mailto:adilson@webfreelancer.com.br>adilson@webfreelancer.com.br</a><br><a href=http://www.webfreelancer.com.br>www.webfreelancer.com.br</a>' var largura=250 var altura=50 var topo=10 var esquerda=10 var velocidade=1 var fonte='verdana' var fonte_size='10' var parar=1 //----------------------------------------------------------------- document.write("<div id=\"agenda\" style=\"position:absolute; left:"+esquerda+"; top:"+topo+"; width:"+largura+"px; height:"+altura+"px; z-index:6; font-family:"+fonte+"; font-size:"+fonte_size+"px \">") var tabela_ini="" var tabela_fim="" velocidade=(document.all)? velocidade : Math.max(1, velocidade-1) var velocidade2=velocidade var pausa=(parar==0)? velocidade2: 0 var iedom=document.all||document.getElementById var alt_atual='' var ms_marquee, ns_marquee function cria_marquee(){ if (iedom){ ms_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee ms_marquee.style.top=altura+8 ms_marquee.innerHTML=tabela_ini+texto+tabela_fim alt_atual=ms_marquee.offsetHeight }else if (document.layers){ ns_marquee=document.ns_marquee.document.ns_marquee2 ns_marquee.top=altura+8 ns_marquee.document.write(tabela_ini+texto+tabela_fim) ns_marquee.document.close() alt_atual=ns_marquee.document.height } tempo=setInterval("rolagem()",20) } window.onload=cria_marquee function rolagem(){ if (iedom){ if (parseInt(ms_marquee.style.top)>(alt_atual*(-1)+8)) ms_marquee.style.top=parseInt(ms_marquee.style.top)-velocidade2 else ms_marquee.style.top=altura+8 }else if (document.layers){ if (ns_marquee.top>(alt_atual*(-1)+8)) ns_marquee.top-=velocidade2 else ns_marquee.top=altura+8 } } if (iedom||document.layers){ with (document){ if (iedom){ write('<div style="position:relative;width:'+largura+';height:'+altura+';overflow:hidden" onMouseover="velocidade2=pausa" onMouseout="velocidade2=velocidade">') write('<div id="iemarquee" style="position:absolute;left:0;top:0;width:100%;">') write('</div></div>') }else if (document.layers){ write('<ilayer width='+largura+' height='+altura+' name="ns_marquee">') write('<layer name="ns_marquee2" width='+largura+' height='+altura+' left=0 top=0 onMouseover="velocidade2=pausa" onMouseout="velocidade2=velocidade"></layer>') write('</ilayer>') } } } </script> </body> </html>