Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/12/2006, 15:51
Avatar de thrash
thrash
 
Fecha de Ingreso: marzo-2002
Ubicación: Talca-Chile
Mensajes: 254
Antigüedad: 23 años
Puntos: 1
Efecto no compatible con Fire Fox

Estimados

tengo esto en un archivo jamado fade2.js y en la página donde va esta bien "llamado" genera un efecto muy "simpático" con la transición de imagnes , el tema es que sólo se ve bien en IE y no con Fire Fox . ¿Se puede hacer algo para que sea compatible con ambos navegadores? .

Gracias
Por cierto en la tabla donde va lo llamo así
Código:
<img src="http://www.gaf.cl/csforestalescl/esqueleto/fade/02.jpg" name="cube"  border=0 style="filter:progid:DXImageTransform.Microsoft.Stretch(stretchStyle='PUSH')">
fade2.js
Código:
<!--

//Picture Cube slideshow - By Tony Foster III
//Modifications by JK
//Visit JavaScript Kit (http://javascriptkit.com) for script

var specifyimage=new Array() //Your images
specifyimage[0]="http://www.gaf.cl/csforestalescl/esqueleto/fade/04.jpg"
specifyimage[1]="http://www.gaf.cl/csforestalescl/esqueleto/fade/03.jpg"
specifyimage[2]="http://www.gaf.cl/csforestalescl/esqueleto/fade/02.jpg"

var delay=5000 //3 seconds

//Counter for array 
var count =1;

var cubeimage=new Array()
for (i=0;i<specifyimage.length;i++){
cubeimage[i]=new Image()
cubeimage[i].src=specifyimage[i]
}

function movecube(){
if (window.createPopup)
cube.filters[0].apply()
document.images.cube.src=cubeimage[count].src;
if (window.createPopup)
cube.filters[0].play()
count++;
if (count==cubeimage.length)
count=0;
setTimeout("movecube()",delay)
}

window.onload=new Function("setTimeout('movecube()',delay)")
//-->
__________________
Foro Forestal Maderero
Bosque y +