1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| <script language="JavaScript">
function afficheMaxi(chemin)
{
i1 = new Image();
i1.src = chemin;
html = '<HTML><HEAD><TITLE>photos.php</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=5 MARGINHEIGHT=0 body bgcolor="#4D5B88"><CENTER>
<IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+50,document.imageTest.height+70)"></CENTER></BODY></HTML>';
popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0, width=800, height=800, left=250, top=125');
popupImage.document.open();
popupImage.document.write(html);
popupImage.document.close()
}
</script> |
Partager