Aqui lo tienes:
Código PHP:
<script type="text/javascript">
<!--
var ancho=300;
var alto=300;
var velocidad=1;
var contenido='<font face="Arial" size="2" color="#FFFFFF"><a href="periodico.html">RESULTADO Y DESTINO DE LA VENTA DEL CUADRO...</a><br>Aquí podéis conocer el resultado de la venta del cuadro y su destino...Pulse en el título<br><br><a href="periodico.html">PROCESION DEL CORPUS CRISTI...</a>Podéis conocer la evolución de la Procesión del Corpus Cristi y sus fotografías...<BR>Pulsar en el título...<br><br><a href="periodico.html">LA CONSTRUCCION DE LA NUEVA PARROQUIA DE SAN PEDRO Y SAN PABLO...</a><br>Aquí podéis ver las fotos iniciales del las obras de esta parroquia que siguen su curso...Pulse en el título<br><br></font>';
document.write("<marquee direction='up' scrollAmount='"+velocidad+"' style='width:"+ancho+";height:"+alto+"'>"+contenido+"</marquee>");
function regenerar()
{
window.location.reload();
}
function regenerar2()
{
if (document.layers)
{
setTimeout("window.onresize=regenerar",450);
inimarquee();
}
}
function inimarquee()
{
document.cmarquee01.document.cmarquee02.document.write(contenido);
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 -= velocidad;
setTimeout("scrollit()",100);
}
else
{
document.cmarquee01.document.cmarquee02.top = alto;
scrollit();
}
}
window.onload=regenerar2();
//-->
</script>
Agregué los
; faltantes y quite el
if(document.all), que no tenia sentido.
Saludos