Hier ist der Java Skript für ein Pop Up Fenster im Fullscrene Modus mit Resize auf eine bestimmte Größe:
Wa muß ich ändern, damit das Fenster immer automatisch im Browser zentriert wird !?
( Ich habe den Bereich makiert !)
<script>
function winopen() {
// Here resize the PopUp
var popUpSizeX=800;
var popUpSizeY=600;
-----------------------------------------------------
-----------------------------------------------------
// Here move it to any poiny on screen
var popUpLocationX=50;
var popUpLocationY=100;
------------------------------------------------------
------------------------------------------------------
// URL of the popUp
var popUpURL="http://......";
splashWin = window.open("",'x','fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0');
splashWin.blur();
window.focus();
------------------------------------------------------
------------------------------------------------------
splashWin.moveTo(popUpLocationX,popUpLocationY);
------------------------------------------------------
------------------------------------------------------
splashWin.resizeTo(popUpSizeX,popUpSizeY);
splashWin.location=popUpURL;
splashWin.focus();
}
</script>