Solved

Need Good onSubmit New Window Code!

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nextBoolean(double p) for Random class 3 41
fibonacci ten numbers 4 45
expectj telnet failing 5 45
Why my table column Id is not passed to java object? 4 44
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

828 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