|
 |
asp_web_howto thread: frames and closing windows
Message #1 by Nusrat Sarwar <nusrat286@y...> on Tue, 29 Oct 2002 13:03:58 -0800 (PST)
|
|
Hi all
Hope everyone is happy, healthy and fine .
Now my recent problem is that I have a page,
"mypage.htm", having 4 frames and I have an exit
button on 4th frame window.
what I want is that when I am going to press exit
button(in 4th frame window) the page "mypage.htm" will
be closed (along with all windows in all 4 frames).
note: all 4 frames have .asp files in them
hope I have cleared my problem to you
waiting for positive reply impatiently.
many thanx again
Take care
regards
nusrat
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
Message #2 by Eli Schilling <ESchilli@t...> on Tue, 29 Oct 2002 13:21:30 -0800
|
|
I would suggest that you create an additional page, something like
close.html. All you need in that file is a javascript that calls
window.close().
In the original page, you can put a button that breaks out of the frames by
redirecting to close.html location=_top
The user will be prompted to close the window, there is no way around this
part.
Cheers,
Eli
-----Original Message-----
From: Nusrat Sarwar [mailto:nusrat286@y...]
Sent: Tuesday, October 29, 2002 1:04 PM
To: ASP Web HowTo
Subject: [asp_web_howto] frames and closing windows
Hi all
Hope everyone is happy, healthy and fine .
Now my recent problem is that I have a page,
"mypage.htm", having 4 frames and I have an exit
button on 4th frame window.
what I want is that when I am going to press exit
button(in 4th frame window) the page "mypage.htm" will
be closed (along with all windows in all 4 frames).
note: all 4 frames have .asp files in them
hope I have cleared my problem to you
waiting for positive reply impatiently.
many thanx again
Take care
regards
nusrat
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
|
|
 |