Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript Window.open fails to open new window

Status
Not open for further replies.

pietersj

Programmer
Jul 11, 2001
8
BE
I have a default.htm page where I open a new page via Window.open("link.asp") in a javascript-section.
this works fine on most systems !
But now I have 1 development-machine with IE5.0 where this fails to open the new window. A window.alert("test") works fine.
Is this a bug in IE5.0 or is it a setting in IE ??

please help !
 
 
vic,

I've tried also :

<HTML>
<HEAD>
<TITLE>Default</TITLE>
</HEAD>

<script language=&quot;VBScript&quot;>
Attributes=&quot;fullscreen=no,resizable=no,scrollbars=yes,height=&quot; + cstr(screen.height-55) + &quot;,width=&quot; + cstr(screen.width-10) + &quot;,status=no,toolbar=no,menubar=no,location=no, left=0, top=0&quot;
</script>

<script language=&quot;JScript&quot;>
window.open(&quot;link.asp&quot;,null,Attributes);
location.href=&quot;javascript:history.back(1)&quot;;
</script>

</HTML>
 
so, is there a problem or is it solved?
cant believe that u cant open new window in ie5.0..
window.open('','','') really works.. :-I regards, vic
 
Vic,

I've had a big number of test-machines where it worked fine. Loaded with IE4.01,IE5.0 or IE5.5. With all the other IE5.0 it worked fine, but on this one machine it didn't.

We uninstalled IE5.0 on this machine, and reinstalled IE but this time version 5.5. And everything workd fine right from that point.
BUT I STILL DON'T UNDERSTAND WHY IT FAILED TO OPEN THE NEW WINDOW. I really want to now if it's a setting or a bug ( or maybe a wrong installation,.. ) because some customers can have the same problem.

;-|
 
oh, got it
my opinion - it was baad ie5 (probably wrong instalation) :cool: regards, vic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top