hi!
i have a small problem with javascript and the open methode.
here is my code (sorry, but it is in german):
this works perfectly fine. a link will be displayed and after clicking the link a new small pop-up window will appear.
if i have two explorer instances open with the above file and i press the link in the first ie-window the pop-up will appear but if i us the link in the second window there won't be a new/second pop-up. instead the old pop-up window gets reloaded. this is annoying! i would like to have two pop-ups.
i don't think that the code is the problem. perhapse it's just an ie bug? does someone know a solution for this??
any help is welcome
cheers
frag
patrick.metz@epost.de
i have a small problem with javascript and the open methode.
here is my code (sorry, but it is in german):
Code:
<html><head><title>Test</title>
<script type="text/javascript">
<!--
function NeuFenster() {
MeinFenster =
window.open("datei2.htm", "Zweitfenster", "width=300,height=200,scrollbars");
MeinFenster.focus();
}
//-->
</script>
</head><body>
<a href="javascript:NeuFenster()">Neues Fenster</a>
</body></html>
this works perfectly fine. a link will be displayed and after clicking the link a new small pop-up window will appear.
if i have two explorer instances open with the above file and i press the link in the first ie-window the pop-up will appear but if i us the link in the second window there won't be a new/second pop-up. instead the old pop-up window gets reloaded. this is annoying! i would like to have two pop-ups.
i don't think that the code is the problem. perhapse it's just an ie bug? does someone know a solution for this??
any help is welcome
cheers
frag
patrick.metz@epost.de