script language=_javascript_
!--
win = window.open('anim.htm','waitWin','height=10,width=260');
win.focus();
//--
/script
cfflush
...
script language=_javascript_
!--
win.close();
//--
/script
Pascal
-Original Message-
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent: 05 August 2004
if I put that script in the popup file then its just open and then closed
I have a index.cfm file, if the form submits, it popup the window and include upload.cfm
so, what I was doing is putting that script at the bottom of index.cfm coz if I put that script in popup.htm then popup just open and
On Fri, 06 Aug 2004 10:42:25 -0400, Asim Manzur
[EMAIL PROTECTED] wrote:
if I put that script in the popup file then its just open and then closed
I have a index.cfm file, if the form submits, it popup the window and include upload.cfm
so, what I was doing is putting that script at the
Another thing to consider is that since IE will now be equipped with a
pop-up blocker and most mozilla users seem to have it turned on, it might
make more sense to have a hidden div that can popup overtop the current page
rather than a popup.
style
#infoPopup {
width:100px;
height: 100px;
top:
thanks Marc,
can you please provide me the simple example code with that.
I lost my almost two days to sort this stupid thing out.
I really appriciate that.
Thanks
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
On Fri, 06 Aug 2004 10:42:25 -0400, Asim Manzur
[EMAIL PROTECTED] wrote:
if I put that script in the popup file then its just open and then closed
I have a index.cfm file, if the form submits, it popup the window and include upload.cfm
so, what I was doing is putting that script at the
On Fri, 06 Aug 2004 11:15:12 -0400, Asim Manzur
[EMAIL PROTECTED] wrote:
thanks Marc,
can you please provide me the simple example code with that.
I lost my almost two days to sort this stupid thing out.
I really appriciate that.
Sorry for the double post, GMail had a hickup.
As for an
is there anyway to check that how many orphan child windows are open and then close those??
thanks
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
On Fri, 06 Aug 2004 14:17:02 -0400, Asim Manzur
[EMAIL PROTECTED] wrote:
is there anyway to check that how many orphan child windows are open and then close those??
You could create a function which checks if window.opener is NULL and
closes the window if so, schedule it using setTimeout() and
I am having a weried error in my _javascript_.
on my top of the page, I am opening a window popup, showing animated gif.
then I am using CFFILE to upload the file and at the end of the page, I am closing the popup.
somwhow popup is getting open, but its not closing.
here is my code.
in addition now I am opening the popup on onSubmit event.
( validate(this) ) {return true} else {return false}
in function validate
the_Child = window.open('popup.htm','waitWinPop','height=10,width=260');
}
and where i need to close the popup.
script language=_javascript_
Try this.
script language=_javascript_
windowHandle = window.open('anim.htm','waitWin','height=10,width=260');
/script
script language=_javascript_
//alert(windows still open);
windowHandle.close();
/script
-Original Message-
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent:
thanks for you reply.
No this one doesn't work too.
There is no error. my script debugger is on, display error on script is on as well.
popup is opening but its not closing.
thanks
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and
still playing with that, no luck yet,
If someone have a simple example script please send it to me.
What I am trying to do is on the top of page if the form has been submitted, open a popup window with a static html page showing animated gif and when the file is uploaded, at the bottom of the
and where i need to close the popup.
script language=_javascript_
//alert(window is still open);
the_Child.close();
/script
I suppose this script is in the pop up?
Then the_Child is not defined there, it is its parent's object.
Simply try self.close();
and it should close itself.
--
15 matches
Mail list logo