Originariamente inviato da ziofester

...<head>...
<script type="text/javascript" language="JavaScript">

function winOpen(URL, windowName, width, height, left, top, resizable, location, menubar, scrollbars, status, toolbar, directories){
var windowFeatures;
windowFeatures = '';
if (width != '')
windowFeatures = windowFeatures+'width='+width+',';
if (height != '')
windowFeatures = windowFeatures+'height='+height+',';
if (left != '')
windowFeatures = windowFeatures+'height='+height+',';
if (top != '')
windowFeatures = windowFeatures+'height='+height+',';
if (resizable)
windowFeatures = windowFeatures+'resizable,';
if (location)
windowFeatures = windowFeatures+'location,';
if (menubar)
windowFeatures = windowFeatures+'menubar,';
if (scrollbars)
windowFeatures = windowFeatures+'scrollbars,';
if (status)
windowFeatures = windowFeatures+'status,';
if (toolbar)
windowFeatures = windowFeatures+'toolbar,';
if (directories)
windowFeatures = windowFeatures+'directories,';
window.open(URL, windowName, windowFeatures);
}


</script>
</head>...

...<td width="226" valign="top">[img]foto_big.jpg[/img][img]photo1.gif[/img][img]photo2.gif[/img][img]photo3.gif[/img][img]photo4.gif[/img]</td>...


ho dato l'istruzione (evidenziato in grassetto) affichè il pop up si apri a 10 px dal bordo sinistro e a 10 px dal margine alto...ma si aprono ad azzo...aiutino please?
Cambia le righe evidenziate di rosso con queste:
codice:
if (left != '')
		windowFeatures = windowFeatures+'left='+left+',';
	if (top != '')
		windowFeatures = windowFeatures+'top='+top+',';