Ver Mensaje Individual
  #6 (permalink)  
Antiguo 03/11/2003, 13:47
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 22 años, 8 meses
Puntos: 381
Pues no encontré nada parecido para NS así que modifiqué el del link que te dejé arriba...

Esto en head

Código:
<script language="JavaScript1.1">
<!-- Recopilaciones de códigos para tus páginas -->
/*
http://www.yomaster.com
*/
var photos=new Array()
var photoslink=new Array()
var which=0
var demora = 8000

//Aquí tienes que insertar la batería de fotos que quieras exponer. Todas deben ser de las mismas dimensiones
photos[0]="plane1.gif"
photos[1]="plane2.gif"
photos[2]="plane3.gif"


//Aquí debes especificar cuantas imágenes tienen enlaces
var linkornot=0

//Aquí introducirás las URL correspondientes a los enlaces de tus imágenes.
photoslink[0]=""
photoslink[1]=""
photoslink[2]=""


//No toques nada a partir de aquí

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


function applyeffect(){
if (document.all){
photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslider.filters.revealTrans.stop()
photoslider.filters.revealTrans.apply()
}
}



function playeffect(){
if (document.all)
photoslider.filters.revealTrans.play()
}

function forward(){
if (which<photos.length-1){
which++}

else{which = 0}
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
tiempo = setTimeout('forward()',demora)

}

function transport(){
window.location=photoslink[which]
}

</script>

... y esto en body....


<table border="0" cellspacing="0" cellpadding="0" width="34%">
<tr>
<td width="150%" height="22"> <center>
<script>
if (linkornot==1)
document.write('<a href="javascript:transport()">')
document.write('<img src="'+photos[0]+'" name="photoslider" style="filter:revealTrans(duration=2,transition=23 )" border=0>')
if (linkornot==1)
document.write('</a>')
document.body.onload = forward
</script>
</center></td>
</tr>
</table>

Yá me dirás qué tal