Thank You. I did figure out I couldn't do it because of the variable. I wantede 
to close the window onload of the next page, thn it hit me, duh. Close on 
unload of the current page. That did it. I was doig the action in the wrong 
place. Whoops!  
   
Thanks,  
Robert  
   
   
   
 
      _____  

  From: s. isaac dealey [mailto:[email protected]]
To: cf-talk [mailto:[email protected]]
Sent: Sat, 20 Dec 2008 16:25:01 -0500
Subject: Re: JS Question

> > I'm opening a popup on one page and want to close it on another page.
> 
> You can't do it, because the variable you created on one page to
> reference the popup doesn't exist when you leave that page.

That's true... although you might be able to get around that if you do
something really fancy with frames or iframes and passing a window
reference around. 

Or you could load the content of the "other page" via an ajax widget to
prevent actually navigating away from the page and that would preserve
your window reference. 

-- 
s. isaac dealey ^ new epoch
isn't it time for a change? 
ph: 781.769.0723

http://onTap.riaforge.org/blog





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317040
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to