Sehr geehrtes Forum,
Ich möchte einen Link zu einer anderen webseite im selben Fenster ausführen;ugl.
Ist dies mit php möglich?
Ich habe ein Beispiel in JS, bei dem das aber in einem Popup geöffnet wird:
MfG INFACT
Ich möchte einen Link zu einer anderen webseite im selben Fenster ausführen;ugl.
Ist dies mit php möglich?
Ich habe ein Beispiel in JS, bei dem das aber in einem Popup geöffnet wird:
PHP:
<script language="JavaScript">
splashWin = false;
function sleeper() {
window.setTimeout("winopen()",24000);
}
function winopen() {
// alert('foo');
// Here resize the PopUp
var popUpSizeX=screen.availWidth;
var popUpSizeY=screen.availHeight;
// Here move it to any poiny on screen
var popUpLocationX=0;
var popUpLocationY=0;
// URL of the popUp
var popUpURL="http://adisfy.com/getAd.php?type=popUp";
if (!splashWin) {
// alert('bar');
splashWin =
window.open("",'x','fullscreen=0,toolbar=1,location=1,directories=1,stat
us=1,menubar=1,scrollbars=1,resizable=1');
//splashWin.blur();
//window.focus();
splashWin.resizeTo(popUpSizeX,popUpSizeY);
splashWin.moveTo(popUpLocationX,popUpLocationY);
splashWin.location=popUpURL;
splashWin.focus();
// splashWin.blur();
window.focus();
// } else { // if (!splashWin) {
// alert(splashWin);
} // if (!splashWin) {
//
}
winopen()
</script>
MfG INFACT