Solved

Need Good onSubmit New Window Code!

Posted on 2000-05-02
2
215 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
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…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now