Ciao a tutti apro finestre che rìsi adeguano all'immagine con questo script
codice:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nuova pagina 1</title>
</head>
<body onload="javascript:zoom('plesk1g.gif',200,200);">
<script>
function zoom(img,w,h)
{
image="immagini\/"+img;
dim="height="+h+" width="+w;
x3421=window.open('','',dim);
x3421.document.write('<title>:: Prova ::</title>');
x3421.document.write('<body leftmargin="0" topmargin="0"></body>');
src="[img]+image+[/img]";
x3421.document.write(src);
while (x3421.document.images[0].complete != true)
{
}
x3421.resizeTo(x3421.document.picture.width,(x3421.document.picture.height+30));
}
</script>
</body>
</html>
ma sapete con la compatibilità con altri browser oltre IE come è messo??