944,120 Members | Top Members by Rank

Ad:
Sep 17th, 2006
0

Control Child Window After parent refresh W/O Frames

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Oshaka is offline Offline
1 posts
since Sep 2006
Sep 19th, 2006
0

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

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".
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Sep 19th, 2006
0

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

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.
Team Colleague
Reputation Points: 92
Solved Threads: 21
Posting Pro in Training
FC Jamison is offline Offline
436 posts
since Jun 2004
Sep 19th, 2006
0

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

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.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Inserted Calendar causing problems w/ Page
Next Thread in HTML and CSS Forum Timeline: css vs. iframes





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC