Popup esce dalla finestra madre
Questo codice crea un popup centrato nel mio monitor 13', se però riduco lo schermo come quello dell'iphone, il popup non rimane nella finestra madre
Codice:
function guest() {
var w = 800;
var h = 600;
var l = Math.floor((screen.width-w)/2);
var t = Math.floor((screen.height-h)/2);
window.open("guestbook/formG.php","","width=" + w + ",height=" + h + ",top=" + t + ",left=" + l);
}
<a class="blu" href="javascript:guest()">Guest</a>
http://www.photoman.altervista.org/