- <SCRIPT LANGUAGE="JavaScript">
- function PopupImage(img) {
- w=open("",'image','weigth=toolbar=no,scrollbars=no,resizable=yes, width=510, height=210');
- w.document.write("<HTML><BODY onblur=\"window.close();\"><IMG src='"+img+"'>");
- w.document.write("</BODY></HTML>");
- w.document.close();
- }
- </script>
-
- sur votre body :
-
- <a href="javascript:PopupImage('Ici le chemin de votre image)">
- <img src="chemin de votre image" width="60" height="30" border="0" alt=""></a>
-
- whidth et height sont à ajuster pour votre convenance.
<SCRIPT LANGUAGE="JavaScript">
function PopupImage(img) {
w=open("",'image','weigth=toolbar=no,scrollbars=no,resizable=yes, width=510, height=210');
w.document.write("<HTML><BODY onblur=\"window.close();\"><IMG src='"+img+"'>");
w.document.write("</BODY></HTML>");
w.document.close();
}
</script>
sur votre body :
<a href="javascript:PopupImage('Ici le chemin de votre image)">
<img src="chemin de votre image" width="60" height="30" border="0" alt=""></a>
whidth et height sont à ajuster pour votre convenance.