<html>
<body>
<!-- Copiar dentro del tag BODY -->
<script language="javascript">
<!--
function VecImagenes()
{
n=0;
this[n++]="01.jpg";
this[n++]="02.jpg";
this[n++]="03.jpg"
this.N=n;
}
var Imagenes=new VecImagenes();
src= Imagenes[ Math.floor(Math.random() * Imagenes.N) ] ;
document.write("<IMG SRC="+src+">");
//-->
</script>
</body>
</html>
<html> <body> <!-- Copiar dentro del tag BODY --> <script language="javascript"> <!-- function VecImagenes() { n=0; this[n++]="01.jpg"; this[n++]="02.jpg"; this[n++]="03.jpg" this.N=n; } var Imagenes=new VecImagenes(); src= Imagenes[ Math.floor(Math.random() * Imagenes.N) ] ; document.write("<IMG SRC="+src+">"); //--> </script> </body> </html>Luego lo pegan en el post del blog y se verá igual, pero al hacer vista previa se ve el código original. Saludos a mi mismo que por ahora soy el único que lee esto :P
No hay comentarios:
Publicar un comentario