Solved

Need Good onSubmit New Window Code!

Posted on 2000-05-02
2
224 Views
Last Modified: 2012-06-21
Anyone have good code for opening a new browser window without
the menus, adress, etc., from a clicking a submit button to a cgi script to display that cgi's returned data?

The code I been finding to use for this works well, but has IE4 quirks that is annoying like the opening of two windows! Strange though, code I have found works well from within FrontPage or AOL, but moment you try it with IE4 browser it always opens a new window, abondons it, and then opens a regular IE4 browser window......messy!!

Thanks
0
Comment
Question by:ohmeohmy
2 Comments
 
LVL 4

Expert Comment

by:adam923
ID: 2771683
javaScript and java are two very different things, try asking in the javaScript group
0
 
LVL 3

Accepted Solution

by:
terajiv earned 100 total points
ID: 2771918
hi,
try this out

Javascript in frame1:
                  parent.frame2.window.open(applet_page_url,title)
                  - or -
                  Java applet in frame1:
                  getAppletContext().showDocument(applet_page_url,"frame2");

MyApplet applet = new MyApplet();
                  Frame dummy = new Frame("Applet Frame");
                  dummy.setLayout(new GridLayout(1, 1));
                  dummy.add(applet);
                  applet.init();
                  applet.start();
                  dummy.setSize(300, 300);
                  dummy.setVisible(true);

I hope using this u can code in much better way

All the Best

Rajiv
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to add new optional parameter to JSP 1 42
fibonacci ten numbers 4 39
servlet filter example 37 63
CSV file parsing thru Java 13 31
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question