[javascript:PopupImage('dossier/monImage.jpg','width','height') ]
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question[javascript:PopupImage('dossier/monImage.jpg','width','height','Ma legende')
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
w.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'"); w.document.write("'http://www.w3.org/TR/html4/loose.dtd'>");
[# ]
function PopupImage(img,largeur,hauteur, description) { var titre="Mon titre" w=open("",'image','width=1,height=1,toolbar=no,scrollbars=no,resizable=yes'); w.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'"); w.document.write("'http://www.w3.org/TR/html4/loose.dtd'>"); w.document.write("<html><head><title>"+titre+"</title>"); w.document.write("<script language='javascript' type='text/javascript'>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+15,document.images[0].height+100); moveTo( ( screen.width-document.images[0].width)/2 , ( screen.height-document.images[0].height)/2); window.focus();} else { setTimeout('checksize()',250) } }</"+"script>");
function PopupImage(img,largeur,hauteur, description) { var titre="Mon titre" w=open("",'image','width=650,height=650,toolbar=no,scrollbars=no,resizable=yes'); w.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'"); w.document.write("'http://www.w3.org/TR/html4/loose.dtd'>"); w.document.write("<html><head><title>"+titre+"</title>"); w.document.write("<script language='javascript' type='text/javascript'>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+15,document.images[0].height+80); window.focus();} else { setTimeout('checksize()',250) } }</"+"script>");
[# ]
//------------------------------------------------------- function PopupImage( img, largeur, hauteur, description){ var titre = "Mon titre"; // ... // le reste de ta fonction // ... return( false); // pour annuler le onclick sur le lien }// fin de function
w=open("",'image','width=650,height=650,toolbar=no,scrollbars=no,resizable=yes');
function PopupImage(img,largeur,hauteur, description) { var titre="Mon titre" var top=(screen.height-hauteur)/2; var left=(screen.width-largeur)/2; w=open("",'image','top='+top+', left='+left+',width=850,height=650,toolbar=no,scrollbars=no,resizable=yes');
[# ">]