Popup

iceboy1000
Hallo,

ich bin wirklich am verzweifeln.. Versagt Wieso kommt bei diesem Code (bei deaktiviertem PopUp-Blocker) weder im IE, noch im FF ein PopUp?

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
<!-- 

function PopUp() 
{ 
 var breite=600;
 var hoehe=550;
 var positionX=((screen.availWidth / 2) - breite / 2);  
 var positionY=((screen.availHeight / 2) - hoehe / 2); 
 var url='http://funboard4you.wbb-community.de/wbb2/popup.php';
 pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); 
 pop.resizeTo(breite,hoehe); 
 pop.moveTo(positionX,positionY); 
 pop.location=url; 
 }
//-->
Broken Sword
Also, erstmal fehlt:
code:
1:
2:
3:
4:
<script type="text/javascript">
</script>

Und dann brauchst du auch ein Ereignis, dass PopUp() aufruft. Zum Beispiel:
code:
1:
<body onload="PopUp();">