Re: JAVA Script Error

2004-08-06 Thread Marc Campeau
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

Re: JAVA Script Error

2004-08-06 Thread Asim Manzur
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]

Re: JAVA Script Error

2004-08-06 Thread Marc Campeau
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

Re: JAVA Script Error

2004-08-06 Thread Marc Campeau
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 th

Re: JAVA Script Error

2004-08-06 Thread Asim Manzur
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]

RE: JAVA Script Error

2004-08-06 Thread Marlon Moyer
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.
#infoPopup {
width:100px;
height: 100px;

Re: JAVA Script Error

2004-08-06 Thread Marc Campeau
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 th

Re: JAVA Script Error

2004-08-06 Thread Asim Manzur
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

RE: JAVA Script Error

2004-08-06 Thread Pascal Peters


...

Pascal > -Original Message- > From: Asim Manzur [mailto:[EMAIL PROTECTED] > Sent: 05 August 2004 22:26 > To: CF-Talk > Subject: Re:

Re: JAVA Script Error

2004-08-05 Thread Claude Schneegans
>>and where i need to close the popup.
//alert("window is still open");
the_Child.close();
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. --

Re: JAVA Script Error

2004-08-05 Thread Asim Manzur
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 pag

Re: JAVA Script Error

2004-08-05 Thread Asim Manzur
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 Suppo

RE: JAVA Script Error

2004-08-05 Thread Marlon Moyer
Try this.
windowHandle = window.open('anim.htm','waitWin','height=10,width=260');

// alert("windows still open");
    windowHandle.close();
> -Original Message- > From: Asim Manzur [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 05, 2004 11:26 AM > To: CF-T

Re: JAVA Script Error

2004-08-05 Thread Asim Manzur
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.
//alert("window is still open");

JAVA Script Error

2004-08-05 Thread Asim Manzur
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.