Make sure you do not have spaces in the
option string because Netscape JavaScript cannot
handle them! The option string:
var option = "width=600,height=500,menubar=1,status=1,resizable=1";
will work, but the option string:
var option = "width = 600, height = 500, menubar = 1, status = 1, resizable
= 1";
will break!
-----Original Message-----
I would suggest you to rewrite your code as
var option = "width=600,height=500,menubar=1,status=1,resizable=1";
window.open("name of your file","name of the window", option);
Hope this works, it worked for us.
- Vallikun
--Original Message-----
From: Vaishnavi [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 24, 2000 9:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [related APPLET /SERVLET !!!!!!!!!!!!!!] - a related
question
Hi,
I tried to open a new window with menubar =yes, status = yes, width = 600,
height = 500, resizable = yes . In IE 5.0 the child window opens
with the parameters that i specified, however in NS 4.51, 4.6, 4.61, 4.7
the child window pops up with none of the attributes mentioned above. Also
the child window takes the size of the parent window inspite of specifying
the width to be 600 and height to be 500. Has anyone experienced such
behaviour
in NS. I posted this question in javascript newsgroup, no response hence
the email here.
Thanks in advance / Vais
----- Original Message -----
From: Ratnakararao Allamsetty <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 13, 2000 6:40 AM
Subject: Re: [related APPLET /SERVLET !!!!!!!!!!!!!!]
> Hi,
>
> You can use javascript's liveconnect to tranfer all the applet data to
> Javascript. You can open a child window with " menubar =yes" option, which
> will open a child window with the std menubar. You can use the print
option
> under the file menu to print it. Here you don't need servlet approach. But
> here also, you need trusted applets.
>
>
>
>
> Swapnil Deshmukh <[EMAIL PROTECTED]> wrote:
> Hi,
> this is a related question.
>
> I have an applet on which if a button is pressed,
> the servlet sends a file(html/doc..)..to the browser/applet
> I want the browser to create a new window to show this file, so that the
> client is able to print it from the browser/viewer on his local m/c.
> meanwhile the applet remains in the first window.
> user client can print the html/doc file, close that window and resume
> using the applet.
> I don't want to go for signed applets.
> can this be done?
>
> Thanks in advance,
> Swapnil
>
>
> Tom John wrote:
> >
> > Hi,
> > it's all about Applet/Servlet Communication, What I need is , Is
there
> anyway
> > that we can invoke/execute a servlet from a Applet.
> > That is basically press a button which is in the Applet and it(servlet)
> > should generate some Html forms and send to the client.
> >
> > In the Jason Hunters Book, It returns the result back to the Applet
again,
> I
> > do not need that but send the Result as Html forms rather than
populating a
> > Applet's component(text box).
> >
> > Thanks in Advance
> >
> > TOM
> >
> >
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html