Dieses JavaScript öffnet auf klick ein neues Fenster.
Autor: unbekannt
zur Demo
<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="http://www.scriptwelt.org";
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>
<a href="javascript:leer()" onclick="winopen()">Fenster öffnen</a>
|