J
Julian
Guest
Ich habe folgendes script von euch:
<script>
function winopen() {
// Here resize the PopUp
var popUpSizeX=250;
var popUpSizeY=200;
// Here move it to any poiny on screen
var popUpLocationX=25;
var popUpLocationY=02;
// URL of the popUp
var popUpURL="popup.php";
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.resizeTo(popUpSizeX,popUpSizeY);
splashWin.moveTo(popUpLocationX,popUpLocationY);
splashWin.location=popUpURL;
splashWin.focus();
}
</script>
Wie kann ich wenn ich das script mehrmals auf einer Seite verwenden will, den Inhalt des Fensters ändern?
<script>
function winopen() {
// Here resize the PopUp
var popUpSizeX=250;
var popUpSizeY=200;
// Here move it to any poiny on screen
var popUpLocationX=25;
var popUpLocationY=02;
// URL of the popUp
var popUpURL="popup.php";
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.resizeTo(popUpSizeX,popUpSizeY);
splashWin.moveTo(popUpLocationX,popUpLocationY);
splashWin.location=popUpURL;
splashWin.focus();
}
</script>
Wie kann ich wenn ich das script mehrmals auf einer Seite verwenden will, den Inhalt des Fensters ändern?