Código SOLUCION 5 - HTML+JS:
Ver original/*rutina que crea la ventana OPEN*/
function fcrea()
{
vaux=open("","","width=150,height=150,scrollbar=no,status=no");
with(vaux.document)
{
write("<html><head><title>Fotos</title></head>");
write("<body leftmargin='0' topmargin='0'>");
write("<center><img src='fotos/01.jpg' border='0' width='150' height='150'>");
write("</center></body></html>")
fventana(1);
}
}
/*Rutina que mueve la ventana*/
d=1; // flag de control
g=0;
function fventana(a)
{ if(a==1)
{ vaux.moveTo(screen.width/1,screen.height/1);}
if(vaux.closed==true)
{ d=0;
}
else
{ if(g<100)
{ vaux.moveBy(0,-100);
g+=4;
}
else
{ if(g<170)
{ vaux.moveBy(-100,0);
g+=4;
}
else
{ if(g<250)
{vaux.moveBy(0,0);}
else
{ d=0}
}
}
}
if(d==1)
{ b1=window.setTimeout("fventana(2)",100)}
else
{ /*alert("Hola... bye bye");*/
window.clearTimeout(b1)
}
}