Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/09/2006, 14:51
Avatar de kurorix
kurorix
 
Fecha de Ingreso: junio-2005
Ubicación: Maipu - Santiago - Chile
Mensajes: 54
Antigüedad: 19 años, 9 meses
Puntos: 0
Este script no me funciona en Firefox

Saludos bueno quiero saber como hacer para que este script me funcione en Firefox

Código HTML:
<script language="JavaScript1.2">
// ancho
var marqueewidth=450
// alto
var marqueeheight=80
// velocidad
var speed=1
// contenido del scroll
var marqueecontents='<font face="Arial" size="2">Lo que veremos en este artículo, es un simple JavaScript para realizar un Scroll cada un determinado lapso de tiempo. En él, se pueden incluir <a href="#" target="_blank">enlaces</a>, imágenes, <strong>textos en negrita</strong>, en fin, cualquier <em>código html</em>.<br>Es ideal para mostrar novedades o noticias sobre un sitio o tema en especial.</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> 
Saludos....
__________________
No lo pidas, Consiguelo por tu cuenta, hazlo y tendras exito.