Control Child Window After parent refresh W/O Frames

Reply

Join Date: Sep 2006
Posts: 1
Reputation: Oshaka is an unknown quantity at this point 
Solved Threads: 0
Oshaka Oshaka is offline Offline
Newbie Poster

Control Child Window After parent refresh W/O Frames

 
0
  #1
Sep 17th, 2006
Hello ,


I am having a problem where the parent window is controlling a popup child window, and when the parent window refreshes or changes a query, the child window var gets nulled, forcing the child to refresh.

What is a way to solve this by still controlling a child after parent refresh without using frames.

I have read about PDOM Persistant Object Document Model. But I just don't understand how to use it in this scenario. Advice with an example would be much appreciated!

Thank you.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Control Child Window After parent refresh W/O Frames

 
0
  #2
Sep 19th, 2006
I don't believe this is possible. As you say, once you close the parent, the reference to it is nulled. I've never heard of "PDOM".
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 434
Reputation: FC Jamison is on a distinguished road 
Solved Threads: 20
Team Colleague
FC Jamison's Avatar
FC Jamison FC Jamison is offline Offline
Posting Pro in Training

Re: Control Child Window After parent refresh W/O Frames

 
0
  #3
Sep 19th, 2006
Without seeing the code it is hard to say...

Am I correct in assuming the parent window calls a child window of the same name every time it is refreshed or the query changes?

Just a shot in the dark...

You could try having the parent window assign a different name to the popup window every time.

Wouldn't that stop the parent window from resetting the variables of the child window that is already open?
Last edited by FC Jamison; Sep 19th, 2006 at 1:43 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Control Child Window After parent refresh W/O Frames

 
0
  #4
Sep 19th, 2006
Yes, it would. What you no longer have, though, is a valid reference within the child window, to the original parent window. If the goal is for the child window to make further reference/changes to the parent window after the parent has refreshed, I think that's not possible.

If the goal is for the refreshed parent window to not re-generate the child window, then yep... make script changes in your parent window to check to see if there is already a child window. If so, don't re-create it.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4624 | Replies: 3
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC