2008-09-30, 11:30 PM
Hi to all.
its possible to pute some text with marquee on the down box of sidebox?
If yes How?
Hi have this code marquee
its possible to pute some text with marquee on the down box of sidebox?
If yes How?
Hi have this code marquee
<html>
<body>
<SCRIPT language=JavaScript1.2>
var marqueewidth=220 // largura
var marqueeheight=200 // altura
var speed=2 // velocidade
var marqueecontents='<P ALIGN="left">'
marqueecontents=marqueecontents+'<font face=verdana size=1 color=#000080>'
marqueecontents=marqueecontents+'NOTICIAS DE ATUALIZAÇÃO DO SITE:<br><br><br>'
marqueecontents=marqueecontents+'<font face=verdana size=1 color=#000000>'
marqueecontents=marqueecontents+'» 99/99/9999 => www.codigofonte.com.br, o seu site de codigo fonte. Não perca tempo, cadastre-se já.<br><br><br>'
marqueecontents=marqueecontents+'» 99/99/9999 => O melhor site de codigo fonte está aqui. <a href="http://www.codigofonte.com.br">codigofonte</a><br><br><br>'
marqueecontents=marqueecontents+'» 99/99/9999 => Tudo o que você procura está aqui.<br><br><br>'
marqueecontents=marqueecontents+'</font>'
if (document.all)
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>')
function regenerate()
{
window.location.reload()
}
function regenerate2()
{
if (document.layers)
{
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}
function intializemarquee()
{
document.cmarquee01.document.cmarquee02.document.write(marqueecontents)
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.height
scrollit()
}
function scrollit()
{
if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed
setTimeout("scrollit()",100)
}
else
{
document.cmarquee01.document.cmarquee02.top=marqueeheight
scrollit()
}
}
window.onload=regenerate2
</SCRIPT>
</body>
</html>