ciao a tutti,
vorrei aprire una pop up appena si apre la pagina e o fatto cosi
Codice PHP:
<script language="JavaScript" type="text/JavaScript">
function popUp(strURL,strType,strHeight,strWidth) {
var strOptions="";
if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic")
strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
window.open(strURL, 'newWin', strOptions);
}
</script>
</head>
<body onload="popUp('pop_offerta.php','fixed',400,400);">
ma non funziona....
Grazie mille