| | |
Control Child Window After parent refresh W/O Frames
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2006
Posts: 1
Reputation:
Solved Threads: 0
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.
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.
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?
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.
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
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.
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.
![]() |
Similar Threads
- Parent/Child Windows References (JavaScript / DHTML / AJAX)
- One form, posting to two scripts? (PHP)
- Calling function in a child window from main parent window (C#)
- Windows programming - C - Save file function (C++)
- one line code request, closing the active child window (C#)
Other Threads in the HTML and CSS Forum
- Previous Thread: Inserted Calendar causing problems w/ Page
- Next Thread: css vs. iframes
Views: 4624 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
2002 appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity create css deleted design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format frontpage google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft missing mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl






