- Home
- Categorie
- Coding e Sistemistica
- Javascript & Framework
- Finestra popup non si apre correttamente con Safari
-
Finestra popup non si apre correttamente con Safari
Con Safari si apre a tutto schermo, mentre con FF, Chrome e Opera si apre in base alle misure impostate
[PHP]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);
}[/PHP]