Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: window.open -> Problems with Window Features


Message #1 by smpotvin@y... on Mon, 29 Jan 2001 01:58:29 -0000
Here is an example that always works for me:

window.open ('yourNewPage.html', 'NameOfNewWindow', 
'toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=780,height=550')

Make sure you always use the proper case, as JavaScript is case-sensitive.


HtH

Imar


At 01:58 AM 1/29/2001 +0000, you wrote:
>Hi,
>
>I've been having trouble getting this code to work with Netscape.
>
>window.open('start.htm', 'start', config='height=300, width=400')
>
>Sometimes it works, sometimes not? I've tried without the "config=", I
>have the same problem.
>
>Also, if I try to add 'status=no, resize=no', but still without success.
>
>Does anybody have a good URL for this kind of reference. I've already
>tried
>http://developer.netscape.com/docs/manuals/communicator/jsref/win1.htm#1152528
>
>
>Thanks!


  Return to Index