05/09/2008, 01:34
|
| | Fecha de Ingreso: septiembre-2008
Mensajes: 1
Antigüedad: 16 años, 4 meses Puntos: 0 | |
AYUDa Hola soy judy, en mi pagina tengo un script que muestra imagenes horizontalmente se mira muy bien en el explorer pero en el mozilla no se ve absolutamente nada, no se cual es el problema, aqui les dejo el codigo.
<script language="JavaScript1.2">
//ancho
var marqueewidth=210
//alto
var marqueeheight=23
//velocidad
var speed=3
//mensaje
var marqueecontents='<img border="0" src="imagenes/6.jpg" width="205" height="262"> <img border="0" src="imagenes/7.jpg" width="205" height="262"> <img border="0" src="imagenes/8.jpg" width="205" height="262"> <img border="0" src="imagenes/9.jpg" width="205" height="262"> <img border="0" src="imagenes/13.jpg" width="205" height="262"> <img border="0" src="imagenes/1.jpg" width="205" height="251"> <img border="0" src="imagenes/2.jpg" width="205" height="260"> <img border="0" src="imagenes/3.jpg" width="205" height="262"> <img border="0" src="imagenes/4.jpg" width="205" height="262"> <img border="0" src="imagenes/5.jpg" width="205" height="262">'
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.w rite('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.c lose()
thelength=document.cmarquee01.document.cmarquee02. document.width
scrollit()
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=the length*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=marqu eewidth
scrollit()
}
}
window.onload=regenerate2
</script> |