Solved

Need Good onSubmit New Window Code!

Posted on 2000-05-02
2
204 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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.

762 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

11 Experts available now in Live!

Get 1:1 Help Now