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:
fade2.js <img src="http://www.gaf.cl/csforestalescl/esqueleto/fade/02.jpg" name="cube" border=0 style="filter:progid:DXImageTransform.Microsoft.Stretch(stretchStyle='PUSH')">
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)") //-->