Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows everywhere 2

Status
Not open for further replies.

Ladyhawk

Programmer
Jan 22, 2002
534
AU
Ok.. here's my problem...

I have a html page with a form on it that has an action of an asp page. The asp page calculates some stuff from the html page and is supposed to display a result. What I would like it to do is just display the result in a small window (preferably with no menus and stuff) and still have the main window with all of the details entered displayed. So that's just two windows. I can sort of get this by setting the target property of the form to _blank, but this creates a new browser window with all of the menus and stuff on it.

Any thoughts?
 
I'm not the best on javascript, but I know this can be done... there is a list of options you can include in the call to open the blank window, ie toolbar=yes|no, menubar=yes|no.

I think you might have to use something like the following...

myWin = window.open("mypage.asp",
"My Title", "width=500,height=250,scrollbars=0,menubar=no,
toolbar=no");

then you can write to the window with

myWin.document.writeln("Cool!");


Full list of options you can use are:

toolbar = yes|no
location = yes|no
directories = yes|no
status = yes|no
menubar = yes|no
scrollbars = yes|no
resizable = yes|no
copyhistory = yes|no
width = pixelwidth
height = pixelheight


Hope this helps! :-}
Brett Birkett B.Comp
Systems Analyst
 
But you still see the window produced by the asp page.
 
What about making the last line of you asp page do a Response.Redirect back to the page with the form on it? You would need to make this page remember all the values that were typed in, maybe useing Response.Requests Brett Birkett B.Comp
Systems Analyst
 
I don't see the differences between our posts? Brett Birkett B.Comp
Systems Analyst
 
The yes/no or 0,1,2,3 it may confusse someone new to java
but Your correct in Your post I was trying to give a working example, just trying to be helpful is all there is not many time I know to be a help, lol

asp confushion
MAWarGod
 
I see! :) I thought there might have been something wrong with my code, because I hadn't tested it, and I'm not big on javascript. This being an asp thread and all!! Brett Birkett B.Comp
Systems Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top