Ciao a tutti,
ho usato un js per centrare un popup ad apertura automatica, ma questo mi impedisce di aprire poi altri popup, come se mi mandasse in pappa il browser.
lo script è:
<SCRIPT LANGUAGE="JavaScript">
<!--
function openWindow(width,height)
{
x = (640 - width)/2;
y = (480 - height)/2;
if (screen)
{
y = (screen.height - height)/2;
x = (screen.width - width)/2;
}
window.open('/home.asp','newWin','width='+width+',height='+heigh t+',screenX='+x+',screenY='+y+',top='+y+',left='+x );
}
//-->
</SCRIPT>
qualcuno di voi sa come impedirgli di bloccarmi poi i popup nella pagina che si apre?