<!-- MARQUESINA NORMAL: -->
<html><head></head>
<Body>
<script language="JavaScript1.2">
//Indica aquí, en pixels, el ancho de tu marquesina
var marqueewidth=600
//Indica aquí, en pixels, el alto de tu marquesina
var marqueeheight=20
//Indica aquí la velocidad de recorrido del texto
var speed=3
//Escribe el mensaje que debe aparecer (con sus correspondientes enlaces, si los hay)
var marqueecontents='<font face="Verdana"><strong><big>Texto que corre poco o mucho y será más o menos largo, más o menos ancho, etc., dependiendo de los valores que le pongas</big></strong></font>'
if (document.all)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+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('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}else{
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}
window.onload=regenerate2
</script>
</body></html>
Comentarios sobre la versión: Versión 1 (3)
Gracias al autor.
JS