Ciao a tutti, ho questo codice, qualcuno sa dirmi come far aprire la popup generata al centro del monitor?
codice:function openPictureWindow_Fever(imageName,image Width,imageHeight,alt,posLeft,posTop) { newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop); newWindow.document.open(); newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); newWindow.document.write('[img]+imageName+[/img]'); newWindow.document.write('</body></html>'); newWindow.document.close(); newWindow.focus(); }

Rispondi quotando