Re: The never-ending windows

2004-05-17 Thread Don
Scott, I sent you a link to info at scottbrady dot net around noon I believe, could you check that account? Thanks. Don >Chunshen (Don) Li wrote: > >Well, without seeing a link, I'm running out of ideas. > >Another thing to try (I'm not sure on the browser compatibility of this) is: >document.f

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Chunshen (Don) Li wrote: > Sorry, was out of office since 3 pm, just got back.  Getting close but > not yet, have replaced the document.frames['loadFrame'].src = ""> > 'dataLoader.cfm?para' with > document.frames['loadFrame'].location.href = ''; > no success. > > Have aslo replaced the > > s

Re: The never-ending windows

2004-05-17 Thread Don
> Original Message: > > I always make this mistake. Instead of doing the .src of the iframe, > try the location.href of the iframe. (I never remember if it's the > document.location.href or the .src) > > i.e.:  document.frames['loadFrame'].location.href = ''; > > (or whatever your frame's name

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: > From: Chunshen (Don) Li > > I'd say try the JS alerts I suggested in my last reply and make sure > > that the iframe's src is being set. > Right on.  err msg "undefined". I always make this mistake. Instead of doing the .src of the iframe, try the location.href of the ifram

Re: The never-ending windows

2004-05-17 Thread Don
> Original Message: > Do you have a link where this is in action? Scott, I've just sent an email to [EMAIL PROTECTED] with a URL. Thanks. Don [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: The never-ending windows

2004-05-17 Thread Don
Scott, Please see my comments below.  Thanks. Don > Original Message: > I'd say try the JS alerts I suggested in my last reply and make sure > that the iframe's src is being set. Right on.  err msg "undefined". > There's also a possibility that the .cfm file is throwing an error > (one proble

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: > From: Chunshen (Don) Li >  // retrieve data and populate MAIN WINDOW >  document.frames['loadFrame'].src = ''+obj+'&col='+jcol+'&pop1='+p1+'&pop2='+p2+'&pop3='+p3; >  /* this part seems problem, not loading >  tried variant >  document.frames['loadFrame'].src = ""> >  cfm?obj

Re: The never-ending windows

2004-05-17 Thread Don
Sorry, I missed one thing from your last post, here's the revised version, please see below.  Thanks. > Thanks, Scott, not there yet, maybe I'm missing something. > > Here's more details: > > MAIN WINDOW > > js function xyz(obj,el,p1,p2,p3) {   ... // load the wait msg   document.getElemen

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: > From: Chunshen (Don) Li > msg win does not show up, data not loaded, what am i missing?  many thanks. It could be any number of things. (It all looks right, but I may be missing something) Do you have a link where this is in action? If not, here are some things to try: 1)

Re: The never-ending windows

2004-05-17 Thread Don
> >Your "trigger" will load a page in that hidden iframe which runs the > >query and then populates the data in the main visible frame > Now, does the Main Window have to constructed as some sort of frame? > the definition of iframe does not seem to suggest that. > > The way to construct the ifr

Re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: > From: Chunshen (Don) Li > >Your "trigger" will load a page in that hidden iframe which runs the >query and then populates the data in the main visible frame > Now, does the Main Window have to constructed as some sort of frame? the definition of iframe does not seem to suggest

Re: The never-ending windows

2004-05-17 Thread Don
Thanks, Scott, this is a step forward from my last update.  Did quick srch on iframe got little thing but not satisfactory. OK, I need some clarification.  For consistency sake, let's stick with the naming convention for now. Main Window contains a hidden iframe (pop2), >Your "trigger" will load

re: The never-ending windows

2004-05-17 Thread Scott Brady
Original Message: > From: Chunshen (Don) Li > I've spent at least one hour on figuring out how to work out this "oo" thing.  Here's the scoop, I have one Main window, which contain form and elements, upon certain action, triggers a popup window, which does two things of 1) query a database to pul

Re: The never-ending windows

2004-05-17 Thread Don
Thanks, Ryan, to me, your suggestion is 100% logical, and I tried that before except I used plain HTML without js for the msgWin, however, still to no avail. What do you think of launching a frame page with two frames (top and bottom), the top one display the msg and the bottom one do data loading

RE: The never-ending windows

2004-05-17 Thread Hagan, Ryan Mr (Contractor ACI)
How about doing something like this: MAIN Window     tons of stuff     event trigger: pop2(); pop2 data loader     msgWin = window.open( 'pop1.htm', 'msg', '' );     msgWin.focus();     do tons of stuff;     msgWin.close();     self.close(); pop1 message     document.write('Plea