questo script mi fa aprire la finestra a tutto schermo....
mentre mi servirebbe che aprisse la finestra 760x420codice:<script language="javascript"> <!-- var str; if ( screen.width <= 800 || screen.height <= 600 ) { str = "left=0,screenX=0,top=0,screenY=0,fullscreen=yes"; } else { str = "left=0,screenX=0,top=0,screenY=0,fullscreen=yes,channelmode=yes"; } if (window.screen) { var ah = screen.availHeight - 30; var aw = screen.availWidth - 10; str += ",height=" + ah; str += ",innerHeight=" + ah; str += ",width=" + aw; str += ",innerWidth=" + aw; } else { str += ",resizable"; // so the user can resize the window manually } function launchFull(url, name) { window.open(url, name, str); } function launch(furl, fname) { // if ( screen.width <= 800 || screen.height <= 600 ) { launchFull(furl, fname) // } // else { // launchFull(furl, fname) // } } //--> </script>

Rispondi quotando