Visualizzazione dei risultati da 1 a 2 su 2

Discussione: [js] non apre popup

  1. #1
    Utente bannato
    Registrato dal
    Dec 2003
    Messaggi
    721

    [js] non apre popup

    <script>
    var falco;
    if (screen.height > 610 && screen.width > 810){
    falco = window.open('prova.php','falcone','dependent=yes,h otkeys,menubar=no, resizable=yes,width=1012, left = 0, top = 0, scrollbars=yes, height=710');
    falco.focus();}
    else {
    falco = window.open('prova.php','falcone','dependent=yes,h otkeys,menubar=no, resizable=yes,width=800, top = 0, scrollbars=yes, height=547, left=0');
    falco.moveTo(-5,0);
    falco.focus();
    }

    </script>

    secondo voi c'è qualche errore? Pare che con mozilla non si apra (anche se a me con firebird e mozilla 1.5 si apre )

    Grazie

  2. #2
    Utente di HTML.it L'avatar di Xinod
    Registrato dal
    Sep 2000
    Messaggi
    13,649
    prova togliendo dependent=yes
    e/o ad indicare yes o no per hotkey

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.