|
 |
asp_web_howto thread: Re: closing window
Message #1 by Greg Griffiths <greg.griffiths@g...> on Wed, 26 Jun 2002 18:41:18 +0100
|
|
just call the close function of each window
window1.close();
window5.close();
etc
At 16:10 26/06/02 +0800, you wrote:
>lets say i have a form which lists the records from a table. when i click
>the link on the id of the record, i use window.open function in javascript
>to pop up a window to show the details of that record. i can have multiple
>pop up at the same time. example, i want to see, record 1,5,6,18,22, i will
>click the id (one by one click), and i will have 5 pop up window. hope u
>understand till this part. should be no problem right. now comes the killer.
>lets say on the form, i click a close button or i click a button to go to
>another page or i click the "X" button on the top right corner of IE, how do
>i automatically closes the 5 pop up window as well without having to press
>the close button on each pop up window?
>
>
>
>---
>
>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
Message #2 by "Cheng Kok Wai" <kwcheng@i...> on Wed, 26 Jun 2002 16:10:02 +0800
|
|
lets say i have a form which lists the records from a table. when i click
the link on the id of the record, i use window.open function in javascript
to pop up a window to show the details of that record. i can have multiple
pop up at the same time. example, i want to see, record 1,5,6,18,22, i will
click the id (one by one click), and i will have 5 pop up window. hope u
understand till this part. should be no problem right. now comes the killer.
lets say on the form, i click a close button or i click a button to go to
another page or i click the "X" button on the top right corner of IE, how do
i automatically closes the 5 pop up window as well without having to press
the close button on each pop up window?
|
|
 |