Búsqueda en el Foro:
Buscar


Autor Mensaje
Mensaje04-03-2009, 20:29 (UTC)    
Título del mensaje:

¿alguien tiene el code para el header aleatorio? por el foro sólo encuentro para fondos, pero a mí lo que me interesaría es poner los headers aleatorios como los de tokarg

probé un código que encontré por ahí

Código:
<!-- Inicio del Script de la imagen de Cabecera -->

<center>
<br><br>
<script language="JavaScript">
<!--

/*
Random Image Script- By JavaScript Kit (http://www.javascriptkit.com)
Over 400+ free JavaScripts here!
Keep this notice intact please
*/

function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="http://img10.imageshack.us/img10/3332/banner2bv6.png"
myimages[2]="http://img18.imageshack.us/img18/8086/banner3aleatorioam4.png"
myimages[3]="http://img18.imageshack.us/img18/5509/banner4aleatorioyb2.png"
myimages[4]="http://img10.imageshack.us/img10/1671/bannersegundaversinmsclwt8.png"

var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write('<img src="'+myimages[ry]+'" border=0>')
}
random_imglink()
//-->
</script>
</center>

<!-- Fin del Script de la imagen de Cabecera -->


pero me puso el banner encima de la publicidad y me mantenía el predeterminado de iceblue debajo de la publicidad....es decir, al final tenía dos banners (y habiendo eliminado el code simple del banner)

alguien sabe como lo puedo arreglar?

muchas gracias!!

pd: ya que se comentó aquí lo del header no quise abrir un topic exclusivo para el header
Mostrar mensajes anteriores:   


Powered by phpBB © 2001, 2005 phpBB Group